6953539: after 6892658 c1 reports that it doesn't inline StringBuffer.append
authornever
Tue May 18 13:45:03 2010 -0700 (3 years ago)
changeset 175099791ad65936
parent 1749c52275c698d1
child 1751b5fdf39b9749
6953539: after 6892658 c1 reports that it doesn't inline StringBuffer.append
Reviewed-by: kvn, twisti
src/share/vm/c1/c1_GraphBuilder.cpp
--- a/src/share/vm/c1/c1_GraphBuilder.cpp Tue May 18 09:54:05 2010 -0700
+++ b/src/share/vm/c1/c1_GraphBuilder.cpp Tue May 18 13:45:03 2010 -0700
@@ -2978,7 +2978,11 @@ bool GraphBuilder::try_inline(ciMethod*
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;