comparison src/share/vm/c1/c1_GraphBuilder.cpp @ 12975:0d1661d63d70

8012941: JSR 292: too deep inlining might crash compiler because of stack overflow Reviewed-by: kvn, twisti
author vlivanov
date Wed, 23 Oct 2013 20:20:03 +0400
parents 5ccbab1c69f3
children 4d3575d37a07
comparison
equal deleted inserted replaced
12974:d95eca175eff 12975:0d1661d63d70
3766 INLINE_BAILOUT("mdo allocation failed"); 3766 INLINE_BAILOUT("mdo allocation failed");
3767 } 3767 }
3768 3768
3769 // now perform tests that are based on flag settings 3769 // now perform tests that are based on flag settings
3770 if (callee->force_inline()) { 3770 if (callee->force_inline()) {
3771 if (inline_level() > MaxForceInlineLevel) INLINE_BAILOUT("MaxForceInlineLevel");
3771 print_inlining(callee, "force inline by annotation"); 3772 print_inlining(callee, "force inline by annotation");
3772 } else if (callee->should_inline()) { 3773 } else if (callee->should_inline()) {
3773 print_inlining(callee, "force inline by CompileOracle"); 3774 print_inlining(callee, "force inline by CompileOracle");
3774 } else { 3775 } else {
3775 // use heuristic controls on inlining 3776 // use heuristic controls on inlining