src/share/vm/runtime/commandLineFlagConstraintsCompiler.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
8153340 Cdiff src/share/vm/runtime/commandLineFlagConstraintsCompiler.cpp
src/share/vm/runtime/commandLineFlagConstraintsCompiler.cpp
Print this page
*** 88,101 ****
return Flag::SUCCESS;
}
}
Flag::Error AllocatePrefetchDistanceConstraintFunc(intx value, bool verbose) {
! if (value < 0) {
CommandLineError::print(verbose,
! "Unable to determine system-specific value for AllocatePrefetchDistance. "
! "Please provide appropriate value, if unsure, use 0 to disable prefetching\n");
return Flag::VIOLATES_CONSTRAINT;
}
return Flag::SUCCESS;
}
--- 88,108 ----
return Flag::SUCCESS;
}
}
Flag::Error AllocatePrefetchDistanceConstraintFunc(intx value, bool verbose) {
! intx min_value;
! if (AllocatePrefetchStyle == 3) {
! min_value = AllocatePrefetchStepSize;
! } else {
! min_value = 0;
! }
! if (value < min_value) {
CommandLineError::print(verbose,
! "Unable to determine system-specific value for AllocatePrefetchDistance, "
! "please provide appropriate value. If unsure, set value to AllocatePrefetchStepSize "
! "(if AllocatePrefetchStyle = 3) or to 0 (for other values of AllocatePrefetchStyle).\n");
return Flag::VIOLATES_CONSTRAINT;
}
return Flag::SUCCESS;
}
src/share/vm/runtime/commandLineFlagConstraintsCompiler.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File