< prev index next >

test/java/lang/management/MemoryMXBean/CollectionUsageThreshold.java

Print this page

        

@@ -30,10 +30,11 @@
  *
  * @author  Mandy Chung
  *
  * @library /lib/testlibrary/
  * @build jdk.testlibrary.* CollectionUsageThreshold MemoryUtil RunUtil
+ * @requires vm.opt.ExplicitGCInvokesConcurrent == "false" | vm.opt.ExplicitGCInvokesConcurrent == "null"
  * @run main/timeout=300 CollectionUsageThreshold
  */
 
 import java.util.*;
 import java.util.concurrent.*;
< prev index next >