changeset 55103:8a1095447ae6

8225017: [TESTBUG] gc/shenandoah/oom/TestThreadFailure.java takes too long Reviewed-by: rkennke
author shade
date Thu, 30 May 2019 10:21:51 +0200
parents 59567035d279
children a72e187adb54
files test/hotspot/jtreg/gc/shenandoah/oom/TestThreadFailure.java
diffstat 1 files changed, 1 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- 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(),