Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8003424

Enable Class Data Sharing for CompressedOops

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P2 P2
    • hs25
    • hs25
    • hotspot
    • b47


        Create a shared archive with compressed oops on with -Xshare:dump and verify that compressed oops is on for -Xshare:on. It's not really worth creating a CDS archive for -d64 with compressed oops off since this is not a default for performance and footprint reasons.

        UseCompressedKlassPointers should be off for this configuration. This requires mmaping the CDS archive which has a fixed address at dump time, and Java Heap separately but compatibly so they can use the same heap base encoding scheme. Even though compressed klass pointers and compressed oops are pretty well separated in the code, their encoding isn't completely separate (someone correct me!)

              hseigel Harold Seigel (Inactive)
              coleenp Coleen Phillimore
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: