hotspot/src/share/vm/runtime/arguments.cpp
changeset 1500 bea9a90f3e8f
parent 1496 3fd9157e5e3c
child 1602 6859fd21ba2b
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Thu Nov 06 20:00:03 2008 -0800
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Fri Nov 07 09:29:38 2008 -0800
@@ -2628,6 +2628,12 @@
   FLAG_SET_DEFAULT(UseBiasedLocking, false);
 #endif /* CC_INTERP */
 
+#ifdef COMPILER2
+  if (!UseBiasedLocking || EmitSync != 0) {
+    UseOptoBiasInlining = false;
+  }
+#endif
+
   if (PrintCommandLineFlags) {
     CommandLineFlags::printSetFlags();
   }