71 * gc.stress.gcold.TestGCOld 50 1 20 10 10000
72 *
73 * @run main/othervm -Xmx384M -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
74 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive
75 * gc.stress.gcold.TestGCOld 50 1 20 10 10000
76 *
77 * @run main/othervm/timeout=600 -Xmx384M -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
78 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
79 * -XX:+ShenandoahVerify
80 * gc.stress.gcold.TestGCOld 50 1 20 10 10000
81 *
82 * @run main/othervm -Xmx384M -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
83 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
84 * gc.stress.gcold.TestGCOld 50 1 20 10 10000
85 *
86 * @run main/othervm -Xmx384M -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
87 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
88 * gc.stress.gcold.TestGCOld 50 1 20 10 10000
89 */
90
91 public class TestGCOldWithShenandoah {
92
93 public static void main(String[] args) {
94 TestGCOld.main(args);
95 }
96 }
|
71 * gc.stress.gcold.TestGCOld 50 1 20 10 10000
72 *
73 * @run main/othervm -Xmx384M -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
74 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive
75 * gc.stress.gcold.TestGCOld 50 1 20 10 10000
76 *
77 * @run main/othervm/timeout=600 -Xmx384M -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
78 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
79 * -XX:+ShenandoahVerify
80 * gc.stress.gcold.TestGCOld 50 1 20 10 10000
81 *
82 * @run main/othervm -Xmx384M -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
83 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
84 * gc.stress.gcold.TestGCOld 50 1 20 10 10000
85 *
86 * @run main/othervm -Xmx384M -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
87 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
88 * gc.stress.gcold.TestGCOld 50 1 20 10 10000
89 */
90
91 /*
92 * @test TestGCOldWithShenandoah
93 * @key gc
94 * @key stress
95 * @library /
96 * @requires vm.gc.Shenandoah & !vm.graal.enabled
97 * @summary Stress the GC by trying to make old objects more likely to be garbage than young objects.
98 *
99 * @run main/othervm -Xmx384M -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
100 * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
101 * -XX:+ShenandoahOOMDuringEvacALot
102 * gc.stress.gcold.TestGCOld 50 1 20 10 10000
103 *
104 * @run main/othervm -Xmx384M -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
105 * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
106 * -XX:+ShenandoahAllocFailureALot
107 * gc.stress.gcold.TestGCOld 50 1 20 10 10000
108 *
109 * @run main/othervm -Xmx384M -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
110 * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
111 * gc.stress.gcold.TestGCOld 50 1 20 10 10000
112 *
113 * @run main/othervm/timeout=600 -Xmx384M -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
114 * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu
115 * -XX:+ShenandoahVerify
116 * gc.stress.gcold.TestGCOld 50 1 20 10 10000
117 *
118 * @run main/othervm -Xmx384M -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
119 * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu
120 * gc.stress.gcold.TestGCOld 50 1 20 10 10000
121 */
122
123 public class TestGCOldWithShenandoah {
124
125 public static void main(String[] args) {
126 TestGCOld.main(args);
127 }
128 }
|