--- old/src/share/vm/runtime/arguments.cpp 2013-10-17 18:54:53.920465457 +0200 +++ new/src/share/vm/runtime/arguments.cpp 2013-10-17 18:54:53.654064668 +0200 @@ -3719,6 +3719,14 @@ // incremental inlining: bump MaxNodeLimit FLAG_SET_DEFAULT(MaxNodeLimit, (intx)75000); } + if (!UseTypeSpeculation && FLAG_IS_DEFAULT(TypeProfileLevel)) { + // nothing to use the profiling, turn if off + FLAG_SET_DEFAULT(TypeProfileLevel, 0); + } + if (UseTypeSpeculation && FLAG_IS_DEFAULT(ReplaceInParentMaps)) { + // Doing the replace in parent maps helps speculation + FLAG_SET_DEFAULT(ReplaceInParentMaps, true); + } #endif if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) {