RFR: 8346998: Test nsk/jvmti/ResourceExhausted/resexhausted003 fails with java.lang.OutOfMemoryError when CDS is off
David Holmes
dholmes at openjdk.org
Tue Jan 7 05:14:43 UTC 2025
On Tue, 7 Jan 2025 03:09:59 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
> Test nsk/jvmti/ResourceExhausted/resexhausted003 limits metaspace size. 9m is not enough if sharing classes are disabled.
> It starts failing with -XX:+UseCompactObjectHeaders just because CDS archives are no built this mode. Never executed with CDS off before.
>
> Verified that it pass now with CDS off with and without UseCompactObjectHeaders.
>
> I removed also other heap limits just because they are not needed and only might confuse test readers.
Changes seem fine.
Thanks
-------------
Marked as reviewed by dholmes (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/22936#pullrequestreview-2533398021
More information about the serviceability-dev
mailing list