RFR (XS) 8225017: [TESTBUG] gc/shenandoah/oom/TestThreadFailure.java takes too long

Aleksey Shipilev shade at redhat.com
Wed May 29 20:13:42 UTC 2019


RFE:
  https://bugs.openjdk.java.net/browse/JDK-8225017

Change is to drop one of the configs and trim down the other one:

diff -r b7ac60035a28 test/hotspot/jtreg/gc/shenandoah/oom/TestThreadFailure.java
--- a/test/hotspot/jtreg/gc/shenandoah/oom/TestThreadFailure.java       Thu May 16 15:58:15 2019 -0700
+++ b/test/hotspot/jtreg/gc/shenandoah/oom/TestThreadFailure.java       Wed May 29 22:12:38 2019 +0200
@@ -64,19 +64,5 @@
         {
             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",

Testing: hotspot_gc_shenandoah {x86_64, x86_32}

-- 
Thanks,
-Aleksey

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20190529/98b894ed/signature.asc>


More information about the hotspot-gc-dev mailing list