8196294: LoopStripMiningIterShortLoop is set to zero by default

Reviewed-by: shade, thartmann, kvn
This commit is contained in:
Roland Westrelin 2018-03-21 10:05:36 +01:00
parent 957f5e1c7d
commit 35460b0e85
2 changed files with 54 additions and 4 deletions

View file

@ -2342,10 +2342,6 @@ bool Arguments::check_vm_args_consistency() {
}
LoopStripMiningIter = 0;
}
if (FLAG_IS_DEFAULT(LoopStripMiningIterShortLoop)) {
// blind guess
LoopStripMiningIterShortLoop = LoopStripMiningIter / 10;
}
#endif
if (!FLAG_IS_DEFAULT(AllocateHeapAt)) {
if ((UseNUMAInterleaving && !FLAG_IS_DEFAULT(UseNUMAInterleaving)) || (UseNUMA && !FLAG_IS_DEFAULT(UseNUMA))) {
@ -4339,6 +4335,10 @@ jint Arguments::apply_ergo() {
// nothing to use the profiling, turn if off
FLAG_SET_DEFAULT(TypeProfileLevel, 0);
}
if (FLAG_IS_DEFAULT(LoopStripMiningIterShortLoop)) {
// blind guess
LoopStripMiningIterShortLoop = LoopStripMiningIter / 10;
}
#endif
if (PrintAssembly && FLAG_IS_DEFAULT(DebugNonSafepoints)) {