mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-13 12:38:07 +00:00
8385945: Deprecate the CompilationMode flag
Reviewed-by: dholmes, ayang
This commit is contained in:
parent
d425cbe2f0
commit
ab116d00a8
@ -273,7 +273,7 @@
|
||||
"mode if posssible") \
|
||||
\
|
||||
product(ccstr, CompilationMode, "default", \
|
||||
"Compilation modes: " \
|
||||
"(Deprecated) Compilation modes: " \
|
||||
"default: normal tiered compilation; " \
|
||||
"quick-only: C1-only mode; " \
|
||||
"high-only: C2-only mode.") \
|
||||
|
||||
@ -529,6 +529,7 @@ static SpecialFlag const special_jvm_flags[] = {
|
||||
{ "DynamicDumpSharedSpaces", JDK_Version::jdk(18), JDK_Version::jdk(19), JDK_Version::undefined() },
|
||||
{ "RequireSharedSpaces", JDK_Version::jdk(18), JDK_Version::jdk(19), JDK_Version::undefined() },
|
||||
{ "UseSharedSpaces", JDK_Version::jdk(18), JDK_Version::jdk(19), JDK_Version::undefined() },
|
||||
{ "CompilationMode", JDK_Version::jdk(28), JDK_Version::jdk(29), JDK_Version::jdk(30)},
|
||||
// --- Deprecated alias flags (see also aliased_jvm_flags) - sorted by obsolete_in then expired_in:
|
||||
{ "CreateMinidumpOnCrash", JDK_Version::jdk(9), JDK_Version::undefined(), JDK_Version::undefined() },
|
||||
{ "InitiatingHeapOccupancyPercent", JDK_Version::jdk(27), JDK_Version::jdk(28), JDK_Version::jdk(29) },
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 2026, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -58,6 +58,7 @@ public class VMDeprecatedOptions {
|
||||
// { <flag name> , <expected default value> }
|
||||
// deprecated non-alias flags:
|
||||
{"AllowRedefinitionToAddDeleteMethods", "true"},
|
||||
{"CompilationMode", "default"},
|
||||
|
||||
// deprecated alias flags (see also aliased_jvm_flags):
|
||||
{"CreateMinidumpOnCrash", "false"}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user