changeset 419:b6cfd754403d

6649622: HotSpot Biased locking needs tuning on latest CPUs Reviewed-by: rasbold, kvn, kamg
author never
date Tue, 28 Oct 2008 18:02:09 -0700
parents 4d9884b01ba6
children f4fe12e429a4
files src/share/vm/runtime/arguments.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp	Tue Oct 28 09:31:30 2008 -0700
+++ b/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) {