--- old/test/hotspot/jtreg/gc/stress/systemgc/TestSystemGCWithShenandoah.java 2020-04-04 02:23:35.956171678 +0200 +++ new/test/hotspot/jtreg/gc/stress/systemgc/TestSystemGCWithShenandoah.java 2020-04-04 02:23:35.853172631 +0200 @@ -41,6 +41,21 @@ * -XX:+UseShenandoahGC * gc.stress.systemgc.TestSystemGCWithShenandoah 270 */ + +/* + * @test TestSystemGCWithShenandoah + * @key gc + * @key stress + * @library / + * @requires vm.gc.Shenandoah & !vm.graal.enabled + * @summary Stress the Shenandoah GC full GC by allocating objects of different lifetimes concurrently with System.gc(). + * + * @run main/othervm/timeout=300 -Xlog:gc*=info -Xmx512m -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions + * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=iu + * -XX:+ShenandoahVerify + * gc.stress.systemgc.TestSystemGCWithShenandoah 270 + * + */ public class TestSystemGCWithShenandoah { public static void main(String[] args) throws Exception { TestSystemGC.main(args);