< prev index next >

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

Print this page
rev 16783 : 8176176: fix @modules in jdk_svc tests
Reviewed-by: duke

*** 25,41 **** * @test * @bug 4959889 6992968 * @summary Basic unit test of memory management testing: * 1) setCollectionUsageThreshold() and getCollectionUsageThreshold() * 2) test notification emitted for two different memory pools. - * * @author Mandy Chung * * @library /lib/testlibrary/ * @modules jdk.management * @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.*; --- 25,41 ---- * @test * @bug 4959889 6992968 * @summary Basic unit test of memory management testing: * 1) setCollectionUsageThreshold() and getCollectionUsageThreshold() * 2) test notification emitted for two different memory pools. * @author Mandy Chung * + * @requires vm.opt.ExplicitGCInvokesConcurrent == "false" | vm.opt.ExplicitGCInvokesConcurrent == "null" * @library /lib/testlibrary/ * @modules jdk.management + * * @build jdk.testlibrary.* CollectionUsageThreshold MemoryUtil RunUtil * @run main/timeout=300 CollectionUsageThreshold */ import java.util.*; import java.util.concurrent.*;
< prev index next >