On Tue, 7 Jan 2025 03:09:59 GMT, Leonid Mesnik <lmes...@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. This pull request has now been integrated. Changeset: 88fa3b2f Author: Leonid Mesnik <lmes...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/88fa3b2fe9bccf9cd4a4041732e2f6d425c19244 Stats: 5 lines in 1 file changed: 0 ins; 3 del; 2 mod 8346998: Test nsk/jvmti/ResourceExhausted/resexhausted003 fails with java.lang.OutOfMemoryError when CDS is off Reviewed-by: dholmes, sspitsyn ------------- PR: https://git.openjdk.org/jdk/pull/22936