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

Reduced chance for zero-based nKlass encoding since JDK-8296565

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 22
    • 22
    • hotspot
    • b14
    • ppc, aarch64

    Description

      In CDS dumptime or off mode, or in CDS runtime relocation (fallback) mode, we call `Metaspace::reserve_address_space_for_compressed_classes(size_t size)` to reserve space suitable for class space and CDS.

      https://bugs.openjdk.org/browse/JDK-8296565 randomized the order in which that function attempts to reserve ranges. Before, preference was given to zero-based regions (below 32GB).

      Before, we almost always ran zero-based. Now, we rarely do, depending on RNG.

      This only affects AARCH64 and PPC.

      This will be fixed as a side effect of JDK-8312018. I opened this bug to track this specific symptom.

      Attachments

        Issue Links

          Activity

            People

              stuefe Thomas Stuefe
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: