8338947: Deprecate the UseLinuxPosixThreadCPUClocks flag and remove it in a future release
Reviewed-by: kbarrett, stuefe
This commit is contained in:
parent
a827ff05db
commit
16df090784
@ -38,10 +38,8 @@
|
||||
product(bool, UseOprofile, false, \
|
||||
"enable support for Oprofile profiler") \
|
||||
\
|
||||
/* NB: The default value of UseLinuxPosixThreadCPUClocks may be */ \
|
||||
/* overridden in Arguments::parse_each_vm_init_arg. */ \
|
||||
product(bool, UseLinuxPosixThreadCPUClocks, true, \
|
||||
"enable fast Linux Posix clocks where available") \
|
||||
"(Deprecated) enable fast Linux Posix clocks where available") \
|
||||
\
|
||||
product(bool, UseTransparentHugePages, false, \
|
||||
"Use MADV_HUGEPAGE for large pages") \
|
||||
|
@ -506,6 +506,9 @@ static SpecialFlag const special_jvm_flags[] = {
|
||||
{ "RequireSharedSpaces", JDK_Version::jdk(18), JDK_Version::jdk(19), JDK_Version::undefined() },
|
||||
{ "UseSharedSpaces", JDK_Version::jdk(18), JDK_Version::jdk(19), JDK_Version::undefined() },
|
||||
{ "DontYieldALot", JDK_Version::jdk(23), JDK_Version::jdk(24), JDK_Version::jdk(25) },
|
||||
#ifdef LINUX
|
||||
{ "UseLinuxPosixThreadCPUClocks", JDK_Version::jdk(24), JDK_Version::jdk(25), JDK_Version::jdk(26) },
|
||||
#endif
|
||||
{ "LockingMode", JDK_Version::jdk(24), JDK_Version::jdk(26), JDK_Version::jdk(27) },
|
||||
// --- Deprecated alias flags (see also aliased_jvm_flags) - sorted by obsolete_in then expired_in:
|
||||
{ "CreateMinidumpOnCrash", JDK_Version::jdk(9), JDK_Version::undefined(), JDK_Version::undefined() },
|
||||
|
@ -70,6 +70,9 @@ public class VMDeprecatedOptions {
|
||||
})
|
||||
);
|
||||
}
|
||||
if (Platform.isLinux()) {
|
||||
deprecated.add(new String[] { "UseLinuxPosixThreadCPUClocks", "true" });
|
||||
}
|
||||
if (wb.isJFRIncluded()) {
|
||||
deprecated.add(new String[] {"FlightRecorder", "false"});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user