8178542: G1: VM hangs during shutdown due to mark stack overflow
authoraharlap
Mon, 01 May 2017 10:50:38 -0400
changeset 46423 62fac1c2c841
parent 46422 6ecc7cc67619
child 46424 2dfc07162b35
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
hotspot/src/share/vm/gc/g1/g1ConcurrentMark.cpp
--- a/hotspot/src/share/vm/gc/g1/g1ConcurrentMark.cpp	Fri Apr 28 09:50:47 2017 +0200
+++ b/hotspot/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;