Java's Compact Object Headers Graduate to Product Feature
2025-05-22
JEP 519 promotes the experimental 'Compact Object Headers' feature to a full product feature in Java. Initially introduced in JDK 24 to optimize object header layout and improve performance, it has undergone extensive testing at Oracle and Amazon, proving its stability and performance gains. The `-XX:+UnlockExperimentalVMOptions` flag is no longer needed for activation. Future expansion for more object header bits is planned for, with Project Valhalla and Lilliput providing solutions.
Development