test/hotspot/jtreg/gc/TestSystemGC.java
changeset 52925 9c18c9d839d3
parent 50455 2b73cce96dce
child 53523 4c5184c56dc2
--- a/test/hotspot/jtreg/gc/TestSystemGC.java	Mon Dec 10 17:34:49 2018 +0300
+++ b/test/hotspot/jtreg/gc/TestSystemGC.java	Mon Dec 10 15:47:44 2018 +0100
@@ -45,6 +45,14 @@
  * @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();