# HG changeset patch # User tschatzl # Date 1405929577 -7200 # Node ID 7afb6523f5ab989c3c16a6b6ea567aa7ff4347a2 # Parent dee569e19a1b222f2df920dca68f8642d9fc3124 8049051: Use of during_initial_mark_pause() in G1CollectorPolicy::record_collection_pause_end() prevents use of seperate object copy time prediction during marking Summary: Replaced use of during_initial_mark_pause() with the variable last_pause_included_initial_mark that holds the real old value of _during_initial_mark_pause. Reviewed-by: brutisso, ehelin diff -r dee569e19a1b -r 7afb6523f5ab hotspot/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp --- a/hotspot/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp Fri Jul 18 15:42:20 2014 -0700 +++ b/hotspot/src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp Mon Jul 21 09:59:37 2014 +0200 @@ -1047,7 +1047,7 @@ 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; }