Skip to content

Commit 1e42324

Browse files
committed
8346998: Test nsk/jvmti/ResourceExhausted/resexhausted003 fails with java.lang.OutOfMemoryError when CDS is off
Backport-of: 88fa3b2fe9bccf9cd4a4041732e2f6d425c19244
1 parent 88e8f69 commit 1e42324

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/hotspot/jtreg/vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted003/TestDescription.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2018, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -39,10 +39,7 @@
3939
* /test/lib
4040
* @run main/othervm/native
4141
* -agentlib:resexhausted=-waittime=5
42-
* -Xms64m
43-
* -Xmx64m
44-
* -XX:MaxMetaspaceSize=9m
45-
* -XX:-UseGCOverheadLimit
42+
* -XX:MaxMetaspaceSize=20m
4643
* nsk.jvmti.ResourceExhausted.resexhausted003
4744
*/
4845

0 commit comments

Comments
 (0)