mirror of
https://github.com/openjdk/jdk.git
synced 2026-06-06 18:53:37 +00:00
8384104: Obsolete Xmaxjitcodesize
Reviewed-by: kvn, dholmes
This commit is contained in:
parent
9536b7f6c0
commit
3760d75e66
@ -2195,11 +2195,9 @@ jint Arguments::parse_each_vm_init_arg(const JavaVMInitArgs* args, JVMFlagOrigin
|
||||
if (FLAG_SET_CMDLINE(ThreadStackSize, value) != JVMFlag::SUCCESS) {
|
||||
return JNI_EINVAL;
|
||||
}
|
||||
} else if (match_option(option, "-Xmaxjitcodesize", &tail) ||
|
||||
match_option(option, "-XX:ReservedCodeCacheSize=", &tail)) {
|
||||
if (match_option(option, "-Xmaxjitcodesize", &tail)) {
|
||||
warning("Option -Xmaxjitcodesize was deprecated in JDK 26 and will likely be removed in a future release.");
|
||||
}
|
||||
} else if (match_option(option, "-Xmaxjitcodesize", &tail)) {
|
||||
warning("Ignoring option %s; support was removed in JDK 27", option->optionString);
|
||||
} else if (match_option(option, "-XX:ReservedCodeCacheSize=", &tail)) {
|
||||
julong long_ReservedCodeCacheSize = 0;
|
||||
|
||||
ArgsRange errcode = parse_memory_size(tail, &long_ReservedCodeCacheSize, 1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user