75 * @key gc
76 * @key stress
77 * @library /
78 * @requires vm.gc.Shenandoah & !vm.graal.enabled
79 * @requires vm.flavor == "server" & !vm.emulatedClient & !vm.graal.enabled
80 * @summary Stress the Shenandoah GC by trying to make old objects more likely to be garbage than young objects.
81 *
82 * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
83 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
84 * -XX:+ShenandoahVerify
85 * gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
86 *
87 * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
88 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
89 * gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
90 *
91 * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
92 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
93 * gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
94 */
95 public class TestGCBasherWithShenandoah {
96 public static void main(String[] args) throws IOException {
97 TestGCBasher.main(args);
98 }
99 }
|
75 * @key gc
76 * @key stress
77 * @library /
78 * @requires vm.gc.Shenandoah & !vm.graal.enabled
79 * @requires vm.flavor == "server" & !vm.emulatedClient & !vm.graal.enabled
80 * @summary Stress the Shenandoah GC by trying to make old objects more likely to be garbage than young objects.
81 *
82 * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
83 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
84 * -XX:+ShenandoahVerify
85 * gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
86 *
87 * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
88 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive
89 * gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
90 *
91 * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
92 * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact
93 * gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
94 */
95
96 /*
97 * @test TestGCBasherWithShenandoah
98 * @key gc
99 * @key stress
100 * @library /
101 * @requires vm.gc.Shenandoah & !vm.graal.enabled
102 * @requires vm.flavor == "server" & !vm.emulatedClient & !vm.graal.enabled
103 * @summary Stress the Shenandoah GC by trying to make old objects more likely to be garbage than young objects.
104 *
105 * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
106 * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
107 * -XX:+ShenandoahOOMDuringEvacALot
108 * gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
109 *
110 * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
111 * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
112 * -XX:+ShenandoahAllocFailureALot
113 * gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
114 *
115 * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
116 * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive
117 * gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
118 */
119
120 /*
121 * @test TestGCBasherWithShenandoah
122 * @key gc
123 * @key stress
124 * @library /
125 * @requires vm.gc.Shenandoah & !vm.graal.enabled
126 * @requires vm.flavor == "server" & !vm.emulatedClient & !vm.graal.enabled
127 * @summary Stress the Shenandoah GC by trying to make old objects more likely to be garbage than young objects.
128 *
129 * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
130 * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu
131 * -XX:+ShenandoahVerify
132 * gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
133 *
134 * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions
135 * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu
136 * gc.stress.gcbasher.TestGCBasherWithShenandoah 120000
137 */
138 public class TestGCBasherWithShenandoah {
139 public static void main(String[] args) throws IOException {
140 TestGCBasher.main(args);
141 }
142 }
|