Java 27 grows up, makes better choices
Improvements in JDK garbage collection, header sizes, data security and quantum key support all should minimize developer friction
Java has matured significantly with the release of version 27. According to backend engineer Arvind Kumar, JDK 27 is the point at which Java stops requiring developers to opt-in for good defaults and simply enables them. This release includes four new features ready for production, none of which require immediate changes to developers' code.
Additionally, there are five new features offered as previews for further development. One notable change is the default compact headers for Java objects, which can lead to memory savings of up to 22% and 8% less CPU time compared to previous versions. Java maintainers are also preparing for the future by implementing post-quantum hybrid key exchange to prepare for the arrival of quantum computing.
The garbage collector has been updated, switching the default from Serial to the more efficient Garbage-First (G1) collector, eliminating the need for explicit flags in containerized apps. Finally, Java 28 is already being developed, with plans for a simple JSON API and a revised Shenandoah garbage collector.
Written by urgent.news from The Register Science's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.
This story
This is one outlet's version. Read the fullest account.
- Java 27 grows up, makes better choices theregister.com