8236844: Deprecate PrintVMQWaitTime to prepare for its removal

Reviewed-by: rehn, coleenp, hseigel
This commit is contained in:
David Holmes 2020-02-10 19:58:04 -05:00
parent 84c24a49ad
commit 983fc23fd1
3 changed files with 4 additions and 2 deletions
src/hotspot/share/runtime
test/hotspot/jtreg/runtime/CommandLine

@ -522,6 +522,7 @@ static SpecialFlag const special_jvm_flags[] = {
{ "AllowRedefinitionToAddDeleteMethods", JDK_Version::jdk(13), JDK_Version::undefined(), JDK_Version::undefined() },
{ "FlightRecorder", JDK_Version::jdk(13), JDK_Version::undefined(), JDK_Version::undefined() },
{ "MonitorBound", JDK_Version::jdk(14), JDK_Version::jdk(15), JDK_Version::jdk(16) },
{ "PrintVMQWaitTime", JDK_Version::jdk(15), JDK_Version::jdk(16), JDK_Version::jdk(17) },
{ "UseNewFieldLayout", JDK_Version::jdk(15), JDK_Version::jdk(16), JDK_Version::jdk(17) },
// --- Deprecated alias flags (see also aliased_jvm_flags) - sorted by obsolete_in then expired_in:

@ -267,7 +267,7 @@ const size_t minimumSymbolTableSize = 1024;
"compilation") \
\
product(bool, PrintVMQWaitTime, false, \
"Print out the waiting time in VM operation queue") \
"(Deprecated) Print out the waiting time in VM operation queue") \
\
product(bool, MethodFlushing, true, \
"Reclamation of zombie and not-entrant methods") \

@ -46,7 +46,8 @@ public class VMDeprecatedOptions {
{"InitialRAMFraction", "64"},
{"TLABStats", "false"},
{"AllowRedefinitionToAddDeleteMethods", "true"},
{"UseNewFieldLayout", "true"},
{"PrintVMQWaitTime", "true"},
{"UseNewFieldLayout", "true"},
// deprecated alias flags (see also aliased_jvm_flags):
{"DefaultMaxRAMFraction", "4"},