changeset 56670:0d44bf1ead37

8224139: Deprecate -XX:FlightRecorder option Reviewed-by: mgronlun, mseledtsov
author egahlin
date Fri, 07 Jun 2019 04:57:51 +0200
parents 5a5f83da57eb
children 9772d90df0d0
files src/hotspot/share/runtime/arguments.cpp src/hotspot/share/runtime/globals.hpp
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/runtime/arguments.cpp	Thu Jun 06 18:57:28 2019 -0700
+++ b/src/hotspot/share/runtime/arguments.cpp	Fri Jun 07 04:57:51 2019 +0200
@@ -537,6 +537,7 @@
   { "AllowJNIEnvProxy",             JDK_Version::jdk(13), JDK_Version::jdk(14), JDK_Version::jdk(15) },
   { "ThreadLocalHandshakes",        JDK_Version::jdk(13), JDK_Version::jdk(14), JDK_Version::jdk(15) },
   { "AllowRedefinitionToAddDeleteMethods", JDK_Version::jdk(13), JDK_Version::undefined(), JDK_Version::undefined() },
+  { "FlightRecorder",               JDK_Version::jdk(13), JDK_Version::undefined(), JDK_Version::undefined() },
 
   // --- Deprecated alias flags (see also aliased_jvm_flags) - sorted by obsolete_in then expired_in:
   { "DefaultMaxRAMFraction",        JDK_Version::jdk(8),  JDK_Version::undefined(), JDK_Version::undefined() },
--- a/src/hotspot/share/runtime/globals.hpp	Thu Jun 06 18:57:28 2019 -0700
+++ b/src/hotspot/share/runtime/globals.hpp	Fri Jun 07 04:57:51 2019 +0200
@@ -2455,7 +2455,7 @@
           "leverage profiling for table/lookup switch")                     \
                                                                             \
   JFR_ONLY(product(bool, FlightRecorder, false,                             \
-          "Enable Flight Recorder"))                                        \
+          "(Deprecated) Enable Flight Recorder"))                                        \
                                                                             \
   JFR_ONLY(product(ccstr, FlightRecorderOptions, NULL,                      \
           "Flight Recorder options"))                                       \