RFR 8231264: Disable biased-locking and deprecate all flags related to biased-locking
Andrew Haley
aph at redhat.com
Thu Nov 28 10:12:59 UTC 2019
On 11/27/19 10:30 PM, Florian Weimer wrote:
> If biased locking were determined important to JNI code, it would be
> interesting to consider how its performance gains relate to the
> general JNI overhead.
JNI overhead is significant, partly because of the need for the
VM-native state changes to be atomic. I don't think a couple of CAS
operations will make a large difference.
--
Andrew Haley (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the hotspot-runtime-dev
mailing list