equal
deleted
inserted
replaced
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 } |