8256425: Obsolete Biased Locking in JDK 18

Reviewed-by: kvn, dholmes, dcubed, rrich
This commit is contained in:
Patricio Chilano Mateo 2021-06-24 18:54:41 +00:00
parent 595446bff4
commit 2fd7943ec1
165 changed files with 293 additions and 5261 deletions

View file

@ -22,7 +22,7 @@
.\"t
.\" Automatically generated by Pandoc 2.3.1
.\"
.TH "JAVA" "1" "2021" "JDK 17\-ea" "JDK Commands"
.TH "JAVA" "1" "2021" "JDK 18\-ea" "JDK Commands"
.hy
.SH NAME
.PP
@ -181,7 +181,7 @@ with new values added and old values removed.
You\[aq]ll get an error message if you use a value of \f[I]N\f[R] that is
no longer supported.
The supported values of \f[I]N\f[R] are the current Java SE release
(\f[CB]17\f[R]) and a limited number of previous releases, detailed in the
(\f[CB]18\f[R]) and a limited number of previous releases, detailed in the
command\-line help for \f[CB]javac\f[R], under the \f[CB]\-\-source\f[R] and
\f[CB]\-\-release\f[R] options.
.RE
@ -3996,16 +3996,6 @@ The default value is 2.
.PP
Use the option \f[CB]\-XX:MinRAMPercentage\f[R] instead.
.RE
.TP
.B \f[CB]\-XX:+UseBiasedLocking\f[R]
Enables the use of biased locking.
Some applications with significant amounts of uncontended
synchronization may attain significant speedups with this flag enabled,
but applications with certain patterns of locking may see slowdowns.
.RS
.PP
By default, this option is disabled.
.RE
.SH OBSOLETE JAVA OPTIONS
.PP
These \f[CB]java\f[R] options are still accepted but ignored, and a
@ -4020,6 +4010,16 @@ This option was deprecated in JDK 16 by \f[B]JEP 396\f[R]
\f[B]JEP 403\f[R] [https://openjdk.java.net/jeps/403].
.RS
.RE
.TP
.B \f[CB]\-XX:+UseBiasedLocking\f[R]
Enables the use of biased locking.
Some applications with significant amounts of uncontended
synchronization may attain significant speedups with this flag enabled,
but applications with certain patterns of locking may see slowdowns.
.RS
.PP
By default, this option is disabled.
.RE
.SH REMOVED JAVA OPTIONS
.PP
These \f[CB]java\f[R] options have been removed in JDK 17 and using them
@ -4934,14 +4934,6 @@ T}@T{
Not Applicable
T}
T{
\f[CB]TraceBiasedLocking\f[R]
T}@T{
\f[CB]\-Xlog:biasedlocking=\f[R]\f[I]level\f[R]
T}@T{
Use \f[I]level\f[R]=\f[CB]info\f[R] for regular information, or
\f[I]level\f[R]=\f[CB]trace\f[R] for additional information.
T}
T{
\f[CB]TraceRedefineClasses\f[R]
T}@T{
\f[CB]\-Xlog:redefine+class*=\f[R]\f[I]level\f[R]