• Sources: primary, discussion, discussion
  • Summary: The speaker says JEP 401 merged into mainline after the JDK 27 fork in a PR of almost 3,000 commits from 64 authors, and will preview in JDK 28 in March. With --enable-preview the primitive wrapper classes and other value-based classes auto-migrate to value classes, == compares fields, and the JVM flattens only when payload plus a null marker fits an atomic access, so a two-int Point is not flattened by default. C2 scalarizes values into registers with a new calling convention, and new PrintFieldLayout flags show the chosen layout.
  • Why it matters: Java teams can test early-access JDK 28 builds now for identity-dependent code, such as weak references or synchronization on wrapper objects, that the automatic migration will break.