6953539: after 6892658 c1 reports that it doesn't inline StringBuffer.append

Reviewed-by: kvn, twisti
This commit is contained in:
Tom Rodriguez 2010-05-18 13:45:03 -07:00
parent c12b2b3f69
commit b03699b985

View File

@ -2978,7 +2978,11 @@ bool GraphBuilder::try_inline(ciMethod* callee, bool holder_known) {
bool GraphBuilder::try_inline_intrinsics(ciMethod* callee) {
if (!InlineNatives ) INLINE_BAILOUT("intrinsic method inlining disabled");
if (callee->is_synchronized()) INLINE_BAILOUT("intrinsic method is synchronized");
if (callee->is_synchronized()) {
// We don't currently support any synchronized intrinsics
return false;
}
// callee seems like a good candidate
// determine id
bool preserves_state = false;