# HG changeset patch # User never # Date 1274215503 25200 # Node ID a747f18b3d7ed246bccdc1e3c5cd62204aae94f7 # Parent 9bea9ee28dfc77b269bb175878a6a9ad36520189 6953539: after 6892658 c1 reports that it doesn't inline StringBuffer.append Reviewed-by: kvn, twisti diff -r 9bea9ee28dfc -r a747f18b3d7e hotspot/src/share/vm/c1/c1_GraphBuilder.cpp --- a/hotspot/src/share/vm/c1/c1_GraphBuilder.cpp Tue May 18 09:54:05 2010 -0700 +++ b/hotspot/src/share/vm/c1/c1_GraphBuilder.cpp Tue May 18 13:45:03 2010 -0700 @@ -2978,7 +2978,11 @@ 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;