--- old/test/hotspot/jtreg/gc/stress/gcbasher/TestGCBasherWithShenandoah.java 2020-04-04 02:23:34.775182597 +0200 +++ new/test/hotspot/jtreg/gc/stress/gcbasher/TestGCBasherWithShenandoah.java 2020-04-04 02:23:34.667183596 +0200 @@ -92,6 +92,49 @@ * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact * gc.stress.gcbasher.TestGCBasherWithShenandoah 120000 */ + +/* + * @test TestGCBasherWithShenandoah + * @key gc + * @key stress + * @library / + * @requires vm.gc.Shenandoah & !vm.graal.enabled + * @requires vm.flavor == "server" & !vm.emulatedClient & !vm.graal.enabled + * @summary Stress the Shenandoah GC by trying to make old objects more likely to be garbage than young objects. + * + * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions + * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive + * -XX:+ShenandoahOOMDuringEvacALot + * gc.stress.gcbasher.TestGCBasherWithShenandoah 120000 + * + * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions + * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive + * -XX:+ShenandoahAllocFailureALot + * gc.stress.gcbasher.TestGCBasherWithShenandoah 120000 + * + * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions + * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu -XX:ShenandoahGCHeuristics=aggressive + * gc.stress.gcbasher.TestGCBasherWithShenandoah 120000 + */ + +/* + * @test TestGCBasherWithShenandoah + * @key gc + * @key stress + * @library / + * @requires vm.gc.Shenandoah & !vm.graal.enabled + * @requires vm.flavor == "server" & !vm.emulatedClient & !vm.graal.enabled + * @summary Stress the Shenandoah GC by trying to make old objects more likely to be garbage than young objects. + * + * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions + * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu + * -XX:+ShenandoahVerify + * gc.stress.gcbasher.TestGCBasherWithShenandoah 120000 + * + * @run main/othervm/timeout=200 -Xlog:gc*=info -Xmx1g -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions + * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu + * gc.stress.gcbasher.TestGCBasherWithShenandoah 120000 + */ public class TestGCBasherWithShenandoah { public static void main(String[] args) throws IOException { TestGCBasher.main(args);