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

Ioi Lam iklam at openjdk.org
Wed Dec 10 02:26:09 UTC 2025


On Tue, 9 Dec 2025 04:50:15 GMT, David Holmes <dholmes 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

Thanks @dholmes-ora @lmesnik for the review

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

PR Comment: https://git.openjdk.org/jdk/pull/28715#issuecomment-3635077940


More information about the hotspot-runtime-dev mailing list