-
Sub-task
-
Resolution: Delivered
-
P4
-
25
The flag `-XX:+/-UseCompactObjectHeaders` is now a product option. This allows users to enable compact object headers without `-XX:+UnlockExperimentalVMOptions`. Compact object headers are a feature introduced in JDK 24 under JEP 450. Enabling this feature reduces the Java heap footprint of applications and potentially provides performance benefits. The feature remains disabled by default in this release but may become the default in a future release.
To support use of compact object headers two additional CDS archives for the JDK image called `classes_coh.jsa` and `classes_nocoops_coh.jsa` are provided to allow equivalent startup performance when `UseCompactObjectHeaders` is turned on.
To support use of compact object headers two additional CDS archives for the JDK image called `classes_coh.jsa` and `classes_nocoops_coh.jsa` are provided to allow equivalent startup performance when `UseCompactObjectHeaders` is turned on.
- relates to
-
JDK-8341555 Release Note: UseCompactObjectHeaders CDS Archives Creation
-
- Resolved
-