diff --git a/src/share/vm/opto/doCall.cpp b/src/share/vm/opto/doCall.cpp index ff85fb643e388c892522b36068e364a55b709fec..edf71c0caf0e5604e424719b5a21ab744b1bfb5e 100644 --- a/src/share/vm/opto/doCall.cpp +++ b/src/share/vm/opto/doCall.cpp @@ -390,6 +390,8 @@ void Parse::do_call() { } if (cg->is_inline()) { + // Accumulate has_loops estimate + C->set_has_loops(C->has_loops() || call_method->has_loops()); C->env()->notice_inlined_method(call_method); }