comparison src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp @ 20301:4baf9bb2376c

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
author tschatzl
date Mon, 21 Jul 2014 09:59:37 +0200
parents 78bbf4d43a14
children 6701abbc4441
comparison
equal deleted inserted replaced
20290:85c339200299 20301:4baf9bb2376c
1044 } 1044 }
1045 } 1045 }
1046 1046
1047 bool new_in_marking_window = _in_marking_window; 1047 bool new_in_marking_window = _in_marking_window;
1048 bool new_in_marking_window_im = false; 1048 bool new_in_marking_window_im = false;
1049 if (during_initial_mark_pause()) { 1049 if (last_pause_included_initial_mark) {
1050 new_in_marking_window = true; 1050 new_in_marking_window = true;
1051 new_in_marking_window_im = true; 1051 new_in_marking_window_im = true;
1052 } 1052 }
1053 1053
1054 if (_last_young_gc) { 1054 if (_last_young_gc) {