RFR: 8368701: CDS VerifierTest_1A.java failed on machines with 512 GB RAM

Leonid Mesnik lmesnik at openjdk.org
Tue Dec 9 18:05:06 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.

Marked as reviewed by lmesnik (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/28715#pullrequestreview-3558857510


More information about the hotspot-runtime-dev mailing list