1.1 --- a/src/share/vm/c1/c1_GraphBuilder.cpp Tue Aug 30 19:01:58 2011 -0700 1.2 +++ b/src/share/vm/c1/c1_GraphBuilder.cpp Wed Aug 31 01:40:45 2011 -0700 1.3 @@ -3430,7 +3430,7 @@ 1.4 } else { 1.5 if (inline_level() > MaxInlineLevel ) INLINE_BAILOUT("too-deep inlining"); 1.6 if (recursive_inline_level(callee) > MaxRecursiveInlineLevel) INLINE_BAILOUT("too-deep recursive inlining"); 1.7 - if (callee->code_size() > max_inline_size() ) INLINE_BAILOUT("callee is too large"); 1.8 + if (callee->code_size_for_inlining() > max_inline_size() ) INLINE_BAILOUT("callee is too large"); 1.9 1.10 // don't inline throwable methods unless the inlining tree is rooted in a throwable class 1.11 if (callee->name() == ciSymbol::object_initializer_name() &&