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

Release Note: Compact Object Headers CDS Archive Generation and jlink Instruction

XMLWordPrintable

      If using `-XX:+UseCompactObjectHeaders` with a custom image created with `jlink`, an additional step is needed to create the CDS archives for this configuration. After creating the image, do:

      ```<image>/bin/java -XX:+UseCompactObjectHeaders -Xshare:dump```

      to create the classes_coh.jsa file. In the unlikely case that you wish to use `UseCompactObjectHeaders` without `UseCompressedOops`, also create a CDS archive image by:

      ```<image>/bin/java -XX:+UseCompactObjectHeaders -XX:-UseCompressedOops -Xshare:dump```

            coleenp Coleen Phillimore
            lfoltan Lois Foltan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: