Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8350457 Implement JEP 519: Compact Object Headers
  3. JDK-8354168

Release Note: UseCompactObjectHeaders is a product option

XMLWordPrintable

      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.

            coleenp Coleen Phillimore
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: