RFR: 8368701: CDS VerifierTest_1A.java failed on machines with 512 GB RAM
David Holmes
dholmes at openjdk.org
Tue Dec 9 04:52:57 UTC 2025
On Tue, 9 Dec 2025 04:21:50 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> 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.
That seems fine, assuming 256M is big enough.
Thanks
-------------
Marked as reviewed by dholmes (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/28715#pullrequestreview-3555441696
More information about the hotspot-runtime-dev
mailing list