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

Reviewed-by: dholmes, sspitsyn
This commit is contained in:
Leonid Mesnik 2025-01-08 20:14:59 +00:00
parent 6ee2bd2f33
commit 88fa3b2fe9

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
*/