equal
deleted
inserted
replaced
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
25 /* |
25 /* |
26 * @test TestSystemGCWithSerial |
26 * @test TestSystemGCWithSerial |
|
27 * @bug 8190703 |
27 * @key gc |
28 * @key gc |
28 * @key stress |
29 * @key stress |
29 * @requires vm.gc.Serial |
30 * @requires vm.gc.Serial |
30 * @summary Stress the Serial GC full GC by allocating objects of different lifetimes concurrently with System.gc(). |
31 * @summary Stress the Serial GC full GC by allocating objects of different lifetimes concurrently with System.gc(). |
31 * @run main/othervm/timeout=300 -Xlog:gc*=info -Xmx512m -XX:+UseSerialGC TestSystemGCWithSerial |
32 * @run main/othervm/timeout=300 -Xlog:gc*=info -Xmx512m -XX:+UseSerialGC TestSystemGCWithSerial 270 |
32 */ |
33 */ |
33 public class TestSystemGCWithSerial { |
34 public class TestSystemGCWithSerial { |
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 } |