8346998: Test nsk/jvmti/ResourceExhausted/resexhausted003 fails with java.lang.OutOfMemoryError when CDS is off

Backport-of: 88fa3b2fe9
This commit is contained in:
Goetz Lindenmaier
2025-07-09 05:18:02 +00:00
committed by Vitaly Provodin
parent 6d7c7be585
commit b83e80c591

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -39,10 +39,7 @@
* /test/lib
* @run main/othervm/native
* -agentlib:resexhausted=-waittime=5
* -Xms64m
* -Xmx64m
* -XX:MaxMetaspaceSize=9m
* -XX:-UseGCOverheadLimit
* -XX:MaxMetaspaceSize=20m
* nsk.jvmti.ResourceExhausted.resexhausted003
*/