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

Patricio Chilano patricio.chilano.mateo at oracle.com
Sat Nov 16 02:15:55 UTC 2019


Hi all,

Could you review the following patch?

JBS: https://bugs.openjdk.java.net/browse/JDK-8231264
Webrev: http://cr.openjdk.java.net/~pchilanomate/8231264/v01/webrev

Biased locking will be disabled by default and all related flags will be 
deprecated. Performance gains seen when the feature was introduced in 
the VM are less clear today with modern Java code/processors. Detailed 
rationale behind the change is included on the description of the bug.

I modified test gtest/oops/test_markWord.cpp so that it still exercises 
other cases of markword printing.

Tested with mach5, tiers1-6 on all platforms (Linux, macOS, Windows and 
Solaris).

Thanks,
Patricio




More information about the hotspot-runtime-dev mailing list