src/share/vm/runtime/arguments.cpp
Print this page
rev 4616 : fixes fill up of code cache: added command line parameter which defines a
threshold (percentage of used code cache) at which the threshold for
recompilation is increased.
*** 2515,2524 ****
--- 2515,2534 ----
option->optionString, InitialCodeCacheSize/K);
describe_range_error(errcode);
return JNI_EINVAL;
}
FLAG_SET_CMDLINE(uintx, ReservedCodeCacheSize, (uintx)long_ReservedCodeCacheSize);
+ //-XX:IncreaseCompileThresholdAt=
+ } else if (match_option(option, "-XX:IncreaseCompileThresholdAt=", &tail)) {
+ uintx uint_IncreaseCompileThresholdAt = 0;
+ if (!parse_uintx(tail, &uint_IncreaseCompileThresholdAt, 0) || uint_IncreaseCompileThresholdAt > 99) {
+ jio_fprintf(defaultStream::error_stream(),
+ "Invalid value for IncreaseCompileThresholdAt: %s. Should be between 0 and 100.\n",
+ option->optionString);
+ return JNI_EINVAL;
+ }
+ FLAG_SET_CMDLINE(uintx, IncreaseCompileThresholdAt, (uintx)uint_IncreaseCompileThresholdAt);
// -green
} else if (match_option(option, "-green", &tail)) {
jio_fprintf(defaultStream::error_stream(),
"Green threads support not available\n");
return JNI_EINVAL;