RFR 8231264: Disable biased-locking and deprecate all flags related to biased-locking

Patricio Chilano patricio.chilano.mateo at oracle.com
Thu Feb 20 20:40:25 UTC 2020


Hi Andrew,

On 2/19/20 6:34 AM, Andrew Haley wrote:
> On 2/18/20 5:46 PM, Patricio Chilano wrote:
>> I see that we seem to agree on changing the default value for
>> UseBiasedLocking to false. There was some discussion previously on this
>> thread on whether we should also deprecate the flags at the same time to
>> give more visibility to the change and increase the chances of getting
>> feedback earlier, which I think some people might still argue for.
> The short-term-supported (STS) versions of the JDK don't get much
> visibility.  I suspect that unless you do something pretty drastic
> in an STS release no-one will notice.
>
> So, if we're going to start to back out biased locking, let's do it
> visibly and with full force.
I think that's also the best way to proceed. This is the JEP I 
mentioned: https://bugs.openjdk.java.net/browse/JDK-8235256
I'll wait to see if anybody else has a different position otherwise I 
guess we can move forward with it.

Thanks,
Patricio




More information about the hotspot-runtime-dev mailing list