Integrated: 8368701: CDS VerifierTest_1A.java failed on machines with 512 GB RAM
Ioi Lam
iklam at openjdk.org
Wed Dec 10 02:28:53 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.
This pull request has now been integrated.
Changeset: d36a234c
Author: Ioi Lam <iklam at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/d36a234c1228fdb12eb5931506ba1e03ebae95fc
Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod
8368701: CDS VerifierTest_1A.java failed on machines with 512 GB RAM
Reviewed-by: dholmes, lmesnik
-------------
PR: https://git.openjdk.org/jdk/pull/28715
More information about the hotspot-runtime-dev
mailing list