# HG changeset patch # User mdoerr # Date 1415201291 -3600 # Node ID 1142a24d73eb3fd2430d9902dff1c4266b836c5b # Parent cf68c0af6882c55c84ae27489c422cce43d3c06d 8062950: Bug in locking code when UseOptoBiasInlining is disabled: assert(dmw->is_neutral()) failed: invariant Reviewed-by: dholmes, kvn diff -r cf68c0af6882 -r 1142a24d73eb hotspot/src/cpu/x86/vm/macroAssembler_x86.cpp --- a/hotspot/src/cpu/x86/vm/macroAssembler_x86.cpp Thu Nov 06 09:40:58 2014 +0100 +++ b/hotspot/src/cpu/x86/vm/macroAssembler_x86.cpp Wed Nov 05 16:28:11 2014 +0100 @@ -1769,7 +1769,7 @@ // at [FETCH], below, will never observe a biased encoding (*101b). // If this invariant is not held we risk exclusion (safety) failure. if (UseBiasedLocking && !UseOptoBiasInlining) { - biased_locking_enter(boxReg, objReg, tmpReg, scrReg, true, DONE_LABEL, NULL, counters); + biased_locking_enter(boxReg, objReg, tmpReg, scrReg, false, DONE_LABEL, NULL, counters); } #if INCLUDE_RTM_OPT