RFR: 8368701: CDS VerifierTest_1A.java failed on machines with 512 GB RAM
Ioi Lam
iklam at openjdk.org
Tue Dec 9 04:28:23 UTC 2025
Please review this small fix for some CDS tests that fail on machines with a lot of RAM.
The reason is the max heap size setting is used only when the CDS archive is dumped. As a result, when we try to use the CDS archive, the VM ergonomics may use a different oop encoding, and the CDS archive becomes unuseable.
The fix is to use the same -Xmx when both dumping and using the CDS archive.
-------------
Commit messages:
- 8368701: CDS VerifierTest_1A.java failed on machines with 512 GB RAM
Changes: https://git.openjdk.org/jdk/pull/28715/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28715&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8368701
Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/28715.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28715/head:pull/28715
PR: https://git.openjdk.org/jdk/pull/28715
More information about the hotspot-runtime-dev
mailing list