mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8191421: Deprecate PrintSafepointStatistics, PrintSafepointStatisticsTimeout and PrintSafepointStatisticsCount options
Reviewed-by: dholmes, hseigel
This commit is contained in:
parent
6d207011e0
commit
a2818d9625
3 changed files with 9 additions and 3 deletions
|
@ -514,6 +514,9 @@ static SpecialFlag const special_jvm_flags[] = {
|
||||||
{ "CheckEndorsedAndExtDirs", JDK_Version::jdk(10), JDK_Version::undefined(), JDK_Version::undefined() },
|
{ "CheckEndorsedAndExtDirs", JDK_Version::jdk(10), JDK_Version::undefined(), JDK_Version::undefined() },
|
||||||
{ "CompilerThreadHintNoPreempt", JDK_Version::jdk(11), JDK_Version::jdk(12), JDK_Version::jdk(13) },
|
{ "CompilerThreadHintNoPreempt", JDK_Version::jdk(11), JDK_Version::jdk(12), JDK_Version::jdk(13) },
|
||||||
{ "VMThreadHintNoPreempt", JDK_Version::jdk(11), JDK_Version::jdk(12), JDK_Version::jdk(13) },
|
{ "VMThreadHintNoPreempt", JDK_Version::jdk(11), JDK_Version::jdk(12), JDK_Version::jdk(13) },
|
||||||
|
{ "PrintSafepointStatistics", JDK_Version::jdk(11), JDK_Version::jdk(12), JDK_Version::jdk(13) },
|
||||||
|
{ "PrintSafepointStatisticsTimeout", JDK_Version::jdk(11), JDK_Version::jdk(12), JDK_Version::jdk(13) },
|
||||||
|
{ "PrintSafepointStatisticsCount",JDK_Version::jdk(11), JDK_Version::jdk(12), JDK_Version::jdk(13) },
|
||||||
|
|
||||||
// --- 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() },
|
||||||
|
|
|
@ -2444,15 +2444,15 @@ public:
|
||||||
"ImplicitNullChecks don't work (PPC64).") \
|
"ImplicitNullChecks don't work (PPC64).") \
|
||||||
\
|
\
|
||||||
product(bool, PrintSafepointStatistics, false, \
|
product(bool, PrintSafepointStatistics, false, \
|
||||||
"Print statistics about safepoint synchronization") \
|
"(Deprecated) Print statistics about safepoint synchronization") \
|
||||||
\
|
\
|
||||||
product(intx, PrintSafepointStatisticsCount, 300, \
|
product(intx, PrintSafepointStatisticsCount, 300, \
|
||||||
"Total number of safepoint statistics collected " \
|
"(Deprecated) Total number of safepoint statistics collected " \
|
||||||
"before printing them out") \
|
"before printing them out") \
|
||||||
range(1, max_intx) \
|
range(1, max_intx) \
|
||||||
\
|
\
|
||||||
product(intx, PrintSafepointStatisticsTimeout, -1, \
|
product(intx, PrintSafepointStatisticsTimeout, -1, \
|
||||||
"Print safepoint statistics only when safepoint takes " \
|
"(Deprecated) Print safepoint statistics only when safepoint takes " \
|
||||||
"more than PrintSafepointSatisticsTimeout in millis") \
|
"more than PrintSafepointSatisticsTimeout in millis") \
|
||||||
LP64_ONLY(range(-1, max_intx/MICROUNITS)) \
|
LP64_ONLY(range(-1, max_intx/MICROUNITS)) \
|
||||||
NOT_LP64(range(-1, max_intx)) \
|
NOT_LP64(range(-1, max_intx)) \
|
||||||
|
|
|
@ -48,6 +48,9 @@ public class VMDeprecatedOptions {
|
||||||
{"UseMembar", "true"},
|
{"UseMembar", "true"},
|
||||||
{"CompilerThreadHintNoPreempt", "true"},
|
{"CompilerThreadHintNoPreempt", "true"},
|
||||||
{"VMThreadHintNoPreempt", "false"},
|
{"VMThreadHintNoPreempt", "false"},
|
||||||
|
{"PrintSafepointStatistics", "false"},
|
||||||
|
{"PrintSafepointStatisticsCount", "3"},
|
||||||
|
{"PrintSafepointStatisticsTimeout", "3"},
|
||||||
|
|
||||||
// deprecated alias flags (see also aliased_jvm_flags):
|
// deprecated alias flags (see also aliased_jvm_flags):
|
||||||
{"DefaultMaxRAMFraction", "4"},
|
{"DefaultMaxRAMFraction", "4"},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue