8178542: G1: VM hangs during shutdown due to mark stack overflow

Removed not needed call to clear_has_overflown() to avoid inconsistent state

Reviewed-by: kbarrett, sangheki
This commit is contained in:
Alexander Harlap 2017-05-01 10:50:38 -04:00
parent 3e1753d49b
commit cf7c7fedcd

View File

@ -923,8 +923,6 @@ public:
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;