Project Valhalla in JDK 28: What Value Classes Actually Change
JEP 401 just landed in OpenJDK mainline. Here is how to try value classes in JDK 28, what scalarization actually does, and the null surprise nobody expects.
11 min readZeeshan Tofiq
1 article
Java platform coverage focused on changes that affect how code is written rather than release notes. The current article examines Project Valhalla value classes in JDK 28, what identity-free objects change about memory layout and equality semantics, and where the performance benefit actually appears. It pairs with the Java object layout calculator in the tools section.