test/hotspot/jtreg/gc/stress/systemgc/TestSystemGCWithShenandoah.java
changeset 55606 78a2b1bb15cf
parent 55587 4644b3155fce
child 58679 9c3209ff7550
equal deleted inserted replaced
55605:91050b1e0fe8 55606:78a2b1bb15cf
    29  * @key gc
    29  * @key gc
    30  * @key stress
    30  * @key stress
    31  * @library /
    31  * @library /
    32  * @requires vm.gc.Shenandoah & !vm.graal.enabled
    32  * @requires vm.gc.Shenandoah & !vm.graal.enabled
    33  * @summary Stress the Shenandoah GC full GC by allocating objects of different lifetimes concurrently with System.gc().
    33  * @summary Stress the Shenandoah GC full GC by allocating objects of different lifetimes concurrently with System.gc().
    34  * @run main/othervm/timeout=300 -Xlog:gc*=info -Xmx512m -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+ShenandoahVerify -XX:+UseShenandoahGC gc.stress.systemgc.TestSystemGCWithShenandoah 270
    34  *
    35  * @run main/othervm/timeout=300 -Xlog:gc*=info -Xmx512m -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+ShenandoahVerify -XX:+UseShenandoahGC -XX:ShenandoahGCMode=traversal gc.stress.systemgc.TestSystemGCWithShenandoah 270
    35  * @run main/othervm/timeout=300 -Xlog:gc*=info -Xmx512m -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions
    36  * @run main/othervm/timeout=300 -Xlog:gc*=info -Xmx512m -XX:+UnlockExperimentalVMOptions                                                      -XX:+UseShenandoahGC gc.stress.systemgc.TestSystemGCWithShenandoah 270
    36  *      -XX:+UseShenandoahGC
       
    37  *      -XX:+ShenandoahVerify
       
    38  *      gc.stress.systemgc.TestSystemGCWithShenandoah 270
       
    39  *
       
    40  * @run main/othervm/timeout=300 -Xlog:gc*=info -Xmx512m -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions
       
    41  *      -XX:+UseShenandoahGC
       
    42  *      gc.stress.systemgc.TestSystemGCWithShenandoah 270
       
    43  */
       
    44 
       
    45 /*
       
    46  * @test TestSystemGCWithShenandoah
       
    47  * @key gc
       
    48  * @key stress
       
    49  * @library /
       
    50  * @requires vm.gc.Shenandoah & !vm.graal.enabled
       
    51  * @summary Stress the Shenandoah GC full GC by allocating objects of different lifetimes concurrently with System.gc().
       
    52  *
       
    53  * @run main/othervm/timeout=300 -Xlog:gc*=info -Xmx512m -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions
       
    54  *      -XX:+UseShenandoahGC -XX:ShenandoahGCMode=traversal
       
    55  *      -XX:+ShenandoahVerify
       
    56  *      gc.stress.systemgc.TestSystemGCWithShenandoah 270
       
    57  *
    37  */
    58  */
    38 public class TestSystemGCWithShenandoah {
    59 public class TestSystemGCWithShenandoah {
    39     public static void main(String[] args) throws Exception {
    60     public static void main(String[] args) throws Exception {
    40         TestSystemGC.main(args);
    61         TestSystemGC.main(args);
    41     }
    62     }