8225017: [TESTBUG] gc/shenandoah/oom/TestThreadFailure.java takes too long
authorshade
Thu, 30 May 2019 10:21:51 +0200
changeset 55103 8a1095447ae6
parent 55102 59567035d279
child 55104 a72e187adb54
8225017: [TESTBUG] gc/shenandoah/oom/TestThreadFailure.java takes too long Reviewed-by: rkennke
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(),