提交 6a87ccb3 编写于 作者: T tschatzl

8049051: Use of during_initial_mark_pause() in...

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
上级 10f4e5bf
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册