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

Wed, 05 Nov 2014 16:28:11 +0100

author
mdoerr
date
Wed, 05 Nov 2014 16:28:11 +0100
changeset 7348
ab72a2f48aef
parent 7347
d44a81242b1e
child 7350
86c674274c94

8062950: Bug in locking code when UseOptoBiasInlining is disabled: assert(dmw->is_neutral()) failed: invariant
Reviewed-by: dholmes, kvn

src/cpu/x86/vm/macroAssembler_x86.cpp file | annotate | diff | comparison | revisions
     1.1 --- a/src/cpu/x86/vm/macroAssembler_x86.cpp	Wed Nov 12 10:34:08 2014 +0000
     1.2 +++ b/src/cpu/x86/vm/macroAssembler_x86.cpp	Wed Nov 05 16:28:11 2014 +0100
     1.3 @@ -1769,7 +1769,7 @@
     1.4      // at [FETCH], below, will never observe a biased encoding (*101b).
     1.5      // If this invariant is not held we risk exclusion (safety) failure.
     1.6      if (UseBiasedLocking && !UseOptoBiasInlining) {
     1.7 -      biased_locking_enter(boxReg, objReg, tmpReg, scrReg, true, DONE_LABEL, NULL, counters);
     1.8 +      biased_locking_enter(boxReg, objReg, tmpReg, scrReg, false, DONE_LABEL, NULL, counters);
     1.9      }
    1.10  
    1.11  #if INCLUDE_RTM_OPT

mercurial