< prev index next >
test/hotspot/jtreg/gc/TestSystemGC.java
Print this page
@@ -24,27 +24,47 @@
package gc;
/*
* @test TestSystemGC
* @key gc
- * @requires vm.gc=="null"
+ * @requires vm.gc.Serial
* @summary Runs System.gc() with different flags.
* @run main/othervm gc.TestSystemGC
* @run main/othervm -XX:+UseSerialGC gc.TestSystemGC
+ * @run main/othervm -XX:+UseLargePages gc.TestSystemGC
+ * @run main/othervm -XX:+UseLargePages -XX:+UseLargePagesInMetaspace gc.TestSystemGC
+ */
+
+/*
+ * @test TestSystemGC
+ * @key gc
+ * @requires vm.gc.Parallel
+ * @summary Runs System.gc() with different flags.
+ * @run main/othervm gc.TestSystemGC
* @run main/othervm -XX:+UseParallelGC gc.TestSystemGC
* @run main/othervm -XX:+UseParallelGC -XX:-UseParallelOldGC gc.TestSystemGC
+ * @run main/othervm -XX:+UseLargePages gc.TestSystemGC
+ * @run main/othervm -XX:+UseLargePages -XX:+UseLargePagesInMetaspace gc.TestSystemGC
+ */
+
+/*
+ * @test TestSystemGC
+ * @key gc
+ * @requires vm.gc.G1
+ * @summary Runs System.gc() with different flags.
+ * @run main/othervm gc.TestSystemGC
* @run main/othervm -XX:+UseG1GC gc.TestSystemGC
* @run main/othervm -XX:+UseG1GC -XX:+ExplicitGCInvokesConcurrent gc.TestSystemGC
* @run main/othervm -XX:+UseLargePages gc.TestSystemGC
* @run main/othervm -XX:+UseLargePages -XX:+UseLargePagesInMetaspace gc.TestSystemGC
*/
/*
* @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 >