Need sponsor to push attached 8184045 into jdk10/hs/hostspt

Alexander Harlap alexander.harlap at oracle.com
Tue Jul 25 14:24:18 UTC 2017


I need a sponsor to push attached 8184045.patch - .

Patch should go into jdk10/hs/hotspot

Reviewed by Daniel D. Daugherty and Erik Helin.

Thank you,

Alex

-------------- next part --------------
# HG changeset patch
# User aharlap
# Date 1500992129 14400
# Node ID a780a9bf31f1ded1d008964d5c079892c0a97590
# Parent  0a22e4ef496e290dc1f4d87b87763c551f72cf23
8184045: TestSystemGCWithG1.java times out on Solaris SPARC
Summary: Avoid extra round of stressing
Reviewed-by: dcubed, ehelin

diff -r 0a22e4ef496e -r a780a9bf31f1 test/gc/stress/systemgc/TestSystemGC.java
--- a/test/gc/stress/systemgc/TestSystemGC.java	Mon Jul 24 22:56:43 2017 +0000
+++ b/test/gc/stress/systemgc/TestSystemGC.java	Tue Jul 25 10:15:29 2017 -0400
@@ -182,9 +182,11 @@
     }
 
     public static void main(String[] args) {
-        // First allocate the long lived objects and then run all phases twice.
+        // First allocate the long lived objects and then run all phases.
         populateLongLived();
         runAllPhases();
-        runAllPhases();
+        if (args.length > 0 && args[0].equals("long")) {
+            runAllPhases();
+        }
     }
 }


More information about the hotspot-gc-dev mailing list