提交 d3324c9f 编写于 作者: T thartmann

8144487: PhaseIdealLoop::build_and_optimize() must restore major_progress flag...

8144487: PhaseIdealLoop::build_and_optimize() must restore major_progress flag if skip_loop_opts is true
Summary: Restore the major_progress flag before calling igvn.optimize().
Reviewed-by: kvn
上级 10e2582e
...@@ -2328,6 +2328,11 @@ void PhaseIdealLoop::build_and_optimize(bool do_split_ifs, bool skip_loop_opts) ...@@ -2328,6 +2328,11 @@ void PhaseIdealLoop::build_and_optimize(bool do_split_ifs, bool skip_loop_opts)
#endif #endif
if (skip_loop_opts) { if (skip_loop_opts) {
// restore major progress flag
for (int i = 0; i < old_progress; i++) {
C->set_major_progress();
}
// Cleanup any modified bits // Cleanup any modified bits
_igvn.optimize(); _igvn.optimize();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册