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

Enable Class Data Sharing for CompressedOops

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: hs25
    • Fix Version/s: hs25
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b47

      Backports

        Description


        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!)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  hseigel Harold Seigel
                  Reporter:
                  coleenp Coleen Phillimore
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: