6649622: HotSpot Biased locking needs tuning on latest CPUs
authornever
Tue, 28 Oct 2008 18:02:09 -0700
changeset 1496 3fd9157e5e3c
parent 1495 128fe18951ed
child 1497 cd3234c89e59
6649622: HotSpot Biased locking needs tuning on latest CPUs Reviewed-by: rasbold, kvn, kamg
hotspot/src/share/vm/runtime/arguments.cpp
--- a/hotspot/src/share/vm/runtime/arguments.cpp	Tue Oct 28 09:31:30 2008 -0700
+++ b/hotspot/src/share/vm/runtime/arguments.cpp	Tue Oct 28 18:02:09 2008 -0700
@@ -1365,6 +1365,9 @@
   if (AggressiveOpts && FLAG_IS_DEFAULT(SpecialArraysEquals)) {
     FLAG_SET_DEFAULT(SpecialArraysEquals, true);
   }
+  if (AggressiveOpts && FLAG_IS_DEFAULT(BiasedLockingStartupDelay)) {
+    FLAG_SET_DEFAULT(BiasedLockingStartupDelay, 500);
+  }
 #endif
 
   if (AggressiveOpts) {