OpenJDK / jdk / jdk12
changeset 46423:62fac1c2c841
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
author | aharlap |
---|---|
date | Mon, 01 May 2017 10:50:38 -0400 |
parents | 6ecc7cc67619 |
children | 2dfc07162b35 |
files | hotspot/src/share/vm/gc/g1/g1ConcurrentMark.cpp |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;