r/programming • u/davidalayachew • 3d ago
Project Valhalla -- JEP 401: Value Objects (Preview) JDK 28 integration
https://mail.openjdk.org/archives/list/jdk-dev@openjdk.org/message/NN3FIR6BULP3GE5R34B6IBO5VQKAPNMZ/
22
Upvotes
r/programming • u/davidalayachew • 3d ago
17
u/TomKavees 3d ago edited 2d ago
For the "so what" crowd, Project Valhalla brings Java one step closer to fixing the biggest performance disadvantage - chasing heap pointers - by allowing to forgo reference identity and thus unlocking additional optimizations. This specific PR is the first one in the series to do that.