8140284: Deprecate -XX:+UnsyncloadClass and -XX:+MustCallLoadClassInternal
Add the two options to the deprecate list. Reviewed-by: acorn, gtriantafill
This commit is contained in:
parent
b84db08380
commit
00b2004598
@ -319,7 +319,7 @@ void Arguments::init_version_specific_system_properties() {
|
|||||||
* Add a deprecation warning for an option (or alias) by adding an entry in the
|
* Add a deprecation warning for an option (or alias) by adding an entry in the
|
||||||
* "special_jvm_flags" table and setting the "deprecated_in" field.
|
* "special_jvm_flags" table and setting the "deprecated_in" field.
|
||||||
* Often an option "deprecated" in one major release will
|
* Often an option "deprecated" in one major release will
|
||||||
* be made "obsolete" in the next. In this case the entry should also have it's
|
* be made "obsolete" in the next. In this case the entry should also have its
|
||||||
* "obsolete_in" field set.
|
* "obsolete_in" field set.
|
||||||
*
|
*
|
||||||
* OBSOLETE: An option that has been removed (and deleted from globals.hpp), but is still accepted
|
* OBSOLETE: An option that has been removed (and deleted from globals.hpp), but is still accepted
|
||||||
@ -380,8 +380,10 @@ static SpecialFlag const special_jvm_flags[] = {
|
|||||||
{ "UseConcMarkSweepGC", JDK_Version::jdk(9), JDK_Version::undefined(), JDK_Version::undefined() },
|
{ "UseConcMarkSweepGC", JDK_Version::jdk(9), 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() },
|
||||||
{ "CreateMinidumpOnCrash", JDK_Version::jdk(9), JDK_Version::undefined(), JDK_Version::undefined() },
|
{ "CreateMinidumpOnCrash", JDK_Version::jdk(9), JDK_Version::undefined(), JDK_Version::undefined() },
|
||||||
|
{ "MustCallLoadClassInternal", JDK_Version::jdk(10), JDK_Version::undefined(), JDK_Version::undefined() },
|
||||||
|
{ "UnsyncloadClass", JDK_Version::jdk(10), JDK_Version::undefined(), JDK_Version::undefined() },
|
||||||
|
|
||||||
// -------------- Obsolete Flags - sorted by expired_in --------------
|
// -------------- Obsolete Flags - sorted by expired_in --------------
|
||||||
{ "ConvertSleepToYield", JDK_Version::jdk(9), JDK_Version::jdk(10), JDK_Version::jdk(11) },
|
{ "ConvertSleepToYield", JDK_Version::jdk(9), JDK_Version::jdk(10), JDK_Version::jdk(11) },
|
||||||
|
@ -40,7 +40,9 @@ public class VMDeprecatedOptions {
|
|||||||
*/
|
*/
|
||||||
public static final String[][] DEPRECATED_OPTIONS = {
|
public static final String[][] DEPRECATED_OPTIONS = {
|
||||||
// deprecated non-alias flags:
|
// deprecated non-alias flags:
|
||||||
{"MaxGCMinorPauseMillis", "1032"},
|
{"MaxGCMinorPauseMillis", "1032"},
|
||||||
|
{"MustCallLoadClassInternal", "false"},
|
||||||
|
{"UnsyncloadClass", "false"},
|
||||||
|
|
||||||
// deprecated alias flags (see also aliased_jvm_flags):
|
// deprecated alias flags (see also aliased_jvm_flags):
|
||||||
{"DefaultMaxRAMFraction", "4"},
|
{"DefaultMaxRAMFraction", "4"},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user