< prev index next >

test/hotspot/jtreg/gc/TestSystemGC.java

Print this page
rev 53307 : Backport Shenadoah GC

@@ -43,10 +43,18 @@
  * @requires vm.gc=="null" & !vm.graal.enabled
  * @run main/othervm -XX:+UseConcMarkSweepGC TestSystemGC
  * @run main/othervm -XX:+UseConcMarkSweepGC -XX:+ExplicitGCInvokesConcurrent TestSystemGC
  */
 
+/*
+ * @test TestSystemGCShenandoah
+ * @key gc
+ * @requires vm.gc.Shenandoah & !vm.graal.enabled
+ * @summary Runs System.gc() with different flags.
+ * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC TestSystemGC
+ * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:+ExplicitGCInvokesConcurrent TestSystemGC
+ */
 public class TestSystemGC {
   public static void main(String args[]) throws Exception {
     System.gc();
   }
 }
< prev index next >