# HG changeset patch # User never # Date 1205864257 25200 # Node ID a9ec1f7d29d6c801d931ee636f6e5982a69f9f16 # Parent fb31825d544436c5d8d499ade5e74fd84064102a 6666343: Compile::has_loops not always set correctly Summary: Compile::has_loops() should be set from inlined methods Reviewed-by: kvn, rasbold diff -r fb31825d5444 -r a9ec1f7d29d6 hotspot/src/share/vm/opto/doCall.cpp --- a/hotspot/src/share/vm/opto/doCall.cpp Fri Mar 14 16:40:42 2008 -0700 +++ b/hotspot/src/share/vm/opto/doCall.cpp Tue Mar 18 11:17:37 2008 -0700 @@ -390,6 +390,8 @@ } 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); }