6649622: HotSpot Biased locking needs tuning on latest CPUs
Reviewed-by: rasbold, kvn, kamg
--- 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) {