diff --git a/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp b/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp index 02c91e96992960d0f79c9e7d85ee77a52241aef5..cbeee6af4eaa131abd1dd9f0d0cc079cda9adc65 100644 --- a/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp +++ b/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp @@ -1046,7 +1046,7 @@ void G1CollectorPolicy::record_collection_pause_end(double pause_time_ms, Evacua bool new_in_marking_window = _in_marking_window; bool new_in_marking_window_im = false; - if (during_initial_mark_pause()) { + if (last_pause_included_initial_mark) { new_in_marking_window = true; new_in_marking_window_im = true; }