RFR (XS) 8247754: Shenandoah: mxbeans tests can be shorter

Aleksey Shipilev shade at redhat.com
Wed Jun 17 12:06:15 UTC 2020


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

Fix:

diff -r 826804f83f85 test/hotspot/jtreg/gc/shenandoah/mxbeans/TestChurnNotifications.java
--- a/test/hotspot/jtreg/gc/shenandoah/mxbeans/TestChurnNotifications.java      Wed Jun 17 13:37:46
2020 +0200
+++ b/test/hotspot/jtreg/gc/shenandoah/mxbeans/TestChurnNotifications.java      Wed Jun 17 14:05:48
2020 +0200
@@ -92,5 +92,5 @@

     static final long HEAP_MB = 128;                           // adjust for test configuration above
-    static final long TARGET_MB = Long.getLong("target", 8_000); // 8 Gb allocation
+    static final long TARGET_MB = Long.getLong("target", 2_000); // 2 Gb allocation

     // Should we track the churn precisely?
diff -r 826804f83f85 test/hotspot/jtreg/gc/shenandoah/mxbeans/TestPauseNotifications.java
--- a/test/hotspot/jtreg/gc/shenandoah/mxbeans/TestPauseNotifications.java      Wed Jun 17 13:37:46
2020 +0200
+++ b/test/hotspot/jtreg/gc/shenandoah/mxbeans/TestPauseNotifications.java      Wed Jun 17 14:05:48
2020 +0200
@@ -86,5 +86,5 @@

     static final long HEAP_MB = 128;                           // adjust for test configuration above
-    static final long TARGET_MB = Long.getLong("target", 8_000); // 8 Gb allocation
+    static final long TARGET_MB = Long.getLong("target", 2_000); // 2 Gb allocation

     static volatile Object sink;

Testing: hotspot_gc_shenandoah (faster now)

-- 
Thanks,
-Aleksey



More information about the hotspot-gc-dev mailing list