< prev index next >
test/hotspot/jtreg/gc/arguments/TestUseCompressedOopsErgo.java
Print this page
@@ -26,11 +26,11 @@
/*
* @test TestUseCompressedOopsErgo
* @key gc
* @bug 8010722
* @summary Tests ergonomics for UseCompressedOops.
- * @requires vm.gc=="null"
+ * @requires vm.gc.Serial & vm.gc.Parallel & vm.gc.G1
* @library /test/lib
* @library /
* @modules java.base/jdk.internal.misc
* java.management/sun.management
* @build sun.hotspot.WhiteBox
@@ -45,11 +45,11 @@
/*
* @test TestUseCompressedOopsErgoCMS
* @key gc
* @bug 8010722
* @comment Graal does not support CMS
- * @requires vm.gc=="null" & !vm.graal.enabled
+ * @requires vm.gc.ConcMarkSweep & !vm.graal.enabled
* @library /test/lib
* @library /
* @modules java.base/jdk.internal.misc
* java.management/sun.management
* @build sun.hotspot.WhiteBox
< prev index next >