6953539: after 6892658 c1 reports that it doesn't inline StringBuffer.append
Reviewed-by: kvn, twisti
--- 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;