test/hotspot/jtreg/gc/stress/systemgc/TestSystemGCWithG1.java
changeset 47800 df4f4688b13d
parent 47216 71c04702a3d5
child 48883 0f1be3c7b6b2
equal deleted inserted replaced
47799:1772ebf07d1f 47800:df4f4688b13d
    22  *
    22  *
    23  */
    23  */
    24 
    24 
    25 /*
    25 /*
    26  * @test TestSystemGCWithG1
    26  * @test TestSystemGCWithG1
       
    27  * @bug 8190703
    27  * @key gc
    28  * @key gc
    28  * @key stress
    29  * @key stress
    29  * @requires vm.gc.G1
    30  * @requires vm.gc.G1
    30  * @summary Stress the G1 GC full GC by allocating objects of different lifetimes concurrently with System.gc().
    31  * @summary Stress the G1 GC full GC by allocating objects of different lifetimes concurrently with System.gc().
    31  * @run main/othervm/timeout=300 -Xlog:gc*=info -Xmx512m -XX:+UseG1GC TestSystemGCWithG1
    32  * @run main/othervm/timeout=300 -Xlog:gc*=info -Xmx512m -XX:+UseG1GC TestSystemGCWithG1 270
    32  */
    33  */
    33 public class TestSystemGCWithG1 {
    34 public class TestSystemGCWithG1 {
    34     public static void main(String[] args) {
    35     public static void main(String[] args) throws Exception {
    35         TestSystemGC.main(args);
    36         TestSystemGC.main(args);
    36     }
    37     }
    37 }
    38 }