8225017: [TESTBUG] gc/shenandoah/oom/TestThreadFailure.java takes too long
Reviewed-by: rkennke
--- 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(),