8224139: Deprecate -XX:FlightRecorder option

Reviewed-by: mgronlun, mseledtsov
This commit is contained in:
Erik Gahlin 2019-06-07 04:57:51 +02:00
parent f198fdd639
commit 042e93613e
2 changed files with 2 additions and 1 deletions

View file

@ -537,6 +537,7 @@ static SpecialFlag const special_jvm_flags[] = {
{ "AllowJNIEnvProxy", JDK_Version::jdk(13), JDK_Version::jdk(14), JDK_Version::jdk(15) }, { "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) }, { "ThreadLocalHandshakes", JDK_Version::jdk(13), JDK_Version::jdk(14), JDK_Version::jdk(15) },
{ "AllowRedefinitionToAddDeleteMethods", JDK_Version::jdk(13), JDK_Version::undefined(), JDK_Version::undefined() }, { "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: // --- 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() }, { "DefaultMaxRAMFraction", JDK_Version::jdk(8), JDK_Version::undefined(), JDK_Version::undefined() },

View file

@ -2455,7 +2455,7 @@ const size_t minimumSymbolTableSize = 1024;
"leverage profiling for table/lookup switch") \ "leverage profiling for table/lookup switch") \
\ \
JFR_ONLY(product(bool, FlightRecorder, false, \ JFR_ONLY(product(bool, FlightRecorder, false, \
"Enable Flight Recorder")) \ "(Deprecated) Enable Flight Recorder")) \
\ \
JFR_ONLY(product(ccstr, FlightRecorderOptions, NULL, \ JFR_ONLY(product(ccstr, FlightRecorderOptions, NULL, \
"Flight Recorder options")) \ "Flight Recorder options")) \