# HG changeset patch # User shade # Date 1559204511 -7200 # Node ID 8a1095447ae6dc0f91da8d9023ca24339c9735e1 # Parent 59567035d2799166a811ff4f790c77ef8cb11f83 8225017: [TESTBUG] gc/shenandoah/oom/TestThreadFailure.java takes too long Reviewed-by: rkennke diff -r 59567035d279 -r 8a1095447ae6 test/hotspot/jtreg/gc/shenandoah/oom/TestThreadFailure.java --- a/test/hotspot/jtreg/gc/shenandoah/oom/TestThreadFailure.java Thu May 30 07:19:19 2019 +0100 +++ b/test/hotspot/jtreg/gc/shenandoah/oom/TestThreadFailure.java Thu May 30 10:21:51 2019 +0200 @@ -63,21 +63,7 @@ { ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( - "-Xmx16m", - "-XX:+UnlockExperimentalVMOptions", - "-XX:+UseShenandoahGC", - TestThreadFailure.class.getName(), - "test"); - - OutputAnalyzer analyzer = new OutputAnalyzer(pb.start()); - analyzer.shouldHaveExitValue(0); - analyzer.shouldContain("java.lang.OutOfMemoryError"); - analyzer.shouldContain("All good"); - } - - { - ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( - "-Xmx128m", + "-Xmx64m", "-XX:+UnlockExperimentalVMOptions", "-XX:+UseShenandoahGC", TestThreadFailure.class.getName(),