RFR 8231264: Implementation of JEP 374: Disable biased-locking and deprecate all flags related to biased-locking
Patricio Chilano
patricio.chilano.mateo at oracle.com
Thu Mar 26 19:23:56 UTC 2020
Hi all,
Please review the following implementation for JEP 374: Disable and
Deprecate Biased Locking.
As already discussed we will change the default value for
UseBiasedLocking to false. Deprecating the flags will also give more
visibility to the change and should increase our changes to potentially
get more feedback. After a transition/evaluation period and based on
collected evidence that will complement the results of our own
benchmarks we can decide if we want to keep this feature or not.
I modified test VMDeprecatedOptions.java to include the deprecated
flags, except for the two diagnostic ones (PrintBiasedLockingStatistics,
PrintPreciseBiasedLockingStatistics).
Tested in mach5, tiers1-7 on all platforms (Linux-x64, macOS-x64,
Windows-x64, Solaris-sparcv9).
Let me know if there are more tests I should run.
Bug:
https://bugs.openjdk.java.net/browse/JDK-8231264
Webrev:
http://cr.openjdk.java.net/~pchilanomate/8231264/v1/webrev/
Thanks,
Patricio
More information about the hotspot-runtime-dev
mailing list