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 ofJDK-8312018. I opened this bug to track this specific symptom.
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
- relates to
-
JDK-8312018 Improve reservation of class space and CDS
- Resolved