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
Fri Mar 27 17:42:45 UTC 2020
Hi David,
On 3/26/20 7:50 PM, David Holmes wrote:
> Hi Patricio,
>
> This looks good to me. Ready to go once the JEP is targeted.
Thanks for looking into this! Yes, I'll wait for that.
Patricio
> Thanks,
> David
>
> On 27/03/2020 5:23 am, Patricio Chilano wrote:
>> 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