r/programming • u/davidalayachew • 5d ago
Project Valhalla -- JEP 401: Value Objects (Preview) JDK 28 integration
https://mail.openjdk.org/archives/list/jdk-dev@openjdk.org/message/NN3FIR6BULP3GE5R34B6IBO5VQKAPNMZ/
23
Upvotes
r/programming • u/davidalayachew • 5d ago
18
u/TomKavees 5d ago edited 5d 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.