RFR (XS): 8062950: Bug in locking code when UseOptoBiasInlining is disabled: assert(dmw->is_neutral()) failed: invariant

Doerr, Martin martin.doerr at sap.com
Wed Nov 5 15:38:17 UTC 2014


Hi,

we found a bug in MacroAssembler::fast_lock on x86 which shows up when UseOptoBiasInlining is switched off.
The problem is that biased_locking_enter is used with swap_reg_contains_mark==true, which is no longer correct after biased_locking_enter was put in front of check for IsInflated.

Please review
http://cr.openjdk.java.net/~goetz/webrevs/8062950-lockBug/webrev.00/

Best regards,
Martin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20141105/f429947a/attachment.html>


More information about the hotspot-compiler-dev mailing list