test/hotspot/jtreg/gc/TestSystemGC.java
changeset 52925 9c18c9d839d3
parent 50455 2b73cce96dce
child 53523 4c5184c56dc2
equal deleted inserted replaced
52924:420ff459906f 52925:9c18c9d839d3
    43  * @requires vm.gc=="null" & !vm.graal.enabled
    43  * @requires vm.gc=="null" & !vm.graal.enabled
    44  * @run main/othervm -XX:+UseConcMarkSweepGC TestSystemGC
    44  * @run main/othervm -XX:+UseConcMarkSweepGC TestSystemGC
    45  * @run main/othervm -XX:+UseConcMarkSweepGC -XX:+ExplicitGCInvokesConcurrent TestSystemGC
    45  * @run main/othervm -XX:+UseConcMarkSweepGC -XX:+ExplicitGCInvokesConcurrent TestSystemGC
    46  */
    46  */
    47 
    47 
       
    48 /*
       
    49  * @test TestSystemGCShenandoah
       
    50  * @key gc
       
    51  * @requires vm.gc.Shenandoah & !vm.graal.enabled
       
    52  * @summary Runs System.gc() with different flags.
       
    53  * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC TestSystemGC
       
    54  * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:+ExplicitGCInvokesConcurrent TestSystemGC
       
    55  */
    48 public class TestSystemGC {
    56 public class TestSystemGC {
    49   public static void main(String args[]) throws Exception {
    57   public static void main(String args[]) throws Exception {
    50     System.gc();
    58     System.gc();
    51   }
    59   }
    52 }
    60 }