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

Alexander Harlap alexander.harlap at oracle.com
Mon May 1 15:06:04 UTC 2017


I need a sponsor to push attached 8178542.patch - G1: VM hangs during 
shutdown due to mark stack overflow

Patch should go into jdk10/hs/hotspot

Reviewed by Kim Barrett and Sangheon Kim

Thank you,

Alex

-------------- next part --------------
# HG changeset patch
# User aharlap
# Date 1493650238 14400
# Node ID ad38aa4b7771f5f2498bf09e3f06d33d8b8490ac
# Parent  07cf19822e37a6bfe34ba4dc90de31e7fcabc98c
8178542: G1: VM hangs during shutdown due to mark stack overflow
Summary: Removed not needed call to clear_has_overflown() to avoid inconsistent state
Reviewed-by: kbarrett, sangheki

diff -r 07cf19822e37 -r ad38aa4b7771 src/share/vm/gc/g1/g1ConcurrentMark.cpp
--- a/src/share/vm/gc/g1/g1ConcurrentMark.cpp	Wed Apr 19 04:10:56 2017 +0000
+++ b/src/share/vm/gc/g1/g1ConcurrentMark.cpp	Mon May 01 10:50:38 2017 -0400
@@ -923,8 +923,6 @@
 
           double end_vtime_sec = os::elapsedVTime();
           double elapsed_vtime_sec = end_vtime_sec - start_vtime_sec;
-          _cm->clear_has_overflown();
-
           _cm->do_yield_check();
 
           jlong sleep_time_ms;


More information about the hotspot-gc-dev mailing list