Skip to content

Commit a014be6

Browse files
committed
8340176: Replace usage of -noclassgc with -Xnoclassgc in test/jdk/java/lang/management/MemoryMXBean/LowMemoryTest2.java
Backport-of: 3e03e6673acfea543d0dbbc64b7a4f52e3292c2b
1 parent 055b866 commit a014be6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/jdk/java/lang/management/MemoryMXBean/LowMemoryTest2.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2004, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2004, 2024, 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
@@ -36,7 +36,7 @@
3636
* @bug 4982128
3737
* @summary Test low memory detection of non-heap memory pool
3838
*
39-
* @run main/othervm/timeout=600 -noclassgc -XX:MaxMetaspaceSize=32m
39+
* @run main/othervm/timeout=600 -Xnoclassgc -XX:MaxMetaspaceSize=32m
4040
* LowMemoryTest2
4141
*/
4242

@@ -45,7 +45,7 @@
4545
* @bug 4982128
4646
* @summary Test low memory detection of non-heap memory pool
4747
*
48-
* @run main/othervm/timeout=600 -noclassgc -XX:MaxMetaspaceSize=16m
48+
* @run main/othervm/timeout=600 -Xnoclassgc -XX:MaxMetaspaceSize=16m
4949
* -XX:CompressedClassSpaceSize=4m LowMemoryTest2
5050
*/
5151

0 commit comments

Comments
 (0)