< prev index next >
test/hotspot/jtreg/gc/TestSystemGC.java
Print this page
@@ -24,11 +24,11 @@
package gc;
/*
* @test TestSystemGC
* @key gc
- * @requires vm.gc=="null"
+ * @requires vm.gc.Serial & vm.gc.Parallel & vm.gc.G1
* @summary Runs System.gc() with different flags.
* @run main/othervm gc.TestSystemGC
* @run main/othervm -XX:+UseSerialGC gc.TestSystemGC
* @run main/othervm -XX:+UseParallelGC gc.TestSystemGC
* @run main/othervm -XX:+UseParallelGC -XX:-UseParallelOldGC gc.TestSystemGC
@@ -40,11 +40,11 @@
/*
* @test TestSystemGCCMS
* @key gc
* @comment Graal does not support CMS
- * @requires vm.gc=="null" & !vm.graal.enabled
+ * @requires vm.gc.ConcMarkSweep & !vm.graal.enabled
* @run main/othervm -XX:+UseConcMarkSweepGC gc.TestSystemGC
* @run main/othervm -XX:+UseConcMarkSweepGC -XX:+ExplicitGCInvokesConcurrent gc.TestSystemGC
*/
/*
< prev index next >