changeset 1750:99791ad65936

6953539: after 6892658 c1 reports that it doesn't inline StringBuffer.append Reviewed-by: kvn, twisti
author never
date Tue, 18 May 2010 13:45:03 -0700
parents c52275c698d1
children b5fdf39b9749
files src/share/vm/c1/c1_GraphBuilder.cpp
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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_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;