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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 22
    • Affects Version/s: 22
    • Component/s: hotspot
    • b14
    • ppc, aarch64

      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.

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

              Created:
              Updated:
              Resolved: