hotspot/src/share/vm/c1/c1_GraphBuilder.cpp
changeset 5535 a747f18b3d7e
parent 5353 30f4b75f8005
child 5688 9052dc91ea67
child 5547 f4b087cbb361
--- 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;