changeset 57992:39c991aa75d0

8236844: Deprecate PrintVMQWaitTime to prepare for its removal Reviewed-by: rehn, coleenp, hseigel
author dholmes
date Mon, 10 Feb 2020 19:58:04 -0500
parents 28d4b3f2fadd
children 8f6ffa575f63
files src/hotspot/share/runtime/arguments.cpp src/hotspot/share/runtime/globals.hpp test/hotspot/jtreg/runtime/CommandLine/VMDeprecatedOptions.java
diffstat 3 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/runtime/arguments.cpp	Mon Feb 10 16:56:38 2020 -0800
+++ b/src/hotspot/share/runtime/arguments.cpp	Mon Feb 10 19:58:04 2020 -0500
@@ -522,6 +522,7 @@
   { "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:
--- a/src/hotspot/share/runtime/globals.hpp	Mon Feb 10 16:56:38 2020 -0800
+++ b/src/hotspot/share/runtime/globals.hpp	Mon Feb 10 19:58:04 2020 -0500
@@ -267,7 +267,7 @@
           "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")                  \
--- a/test/hotspot/jtreg/runtime/CommandLine/VMDeprecatedOptions.java	Mon Feb 10 16:56:38 2020 -0800
+++ b/test/hotspot/jtreg/runtime/CommandLine/VMDeprecatedOptions.java	Mon Feb 10 19:58:04 2020 -0500
@@ -46,7 +46,8 @@
         {"InitialRAMFraction",        "64"},
         {"TLABStats",                 "false"},
         {"AllowRedefinitionToAddDeleteMethods", "true"},
-        {"UseNewFieldLayout", "true"},
+        {"PrintVMQWaitTime",          "true"},
+        {"UseNewFieldLayout",         "true"},
 
         // deprecated alias flags (see also aliased_jvm_flags):
         {"DefaultMaxRAMFraction", "4"},