8225329: -XX:+PrintBiasedLockingStatistics causes crash during initia…

Reviewed-by: stuefe, dholmes
This commit is contained in:
Martin Doerr 2020-09-28 09:06:31 +00:00
parent e9c178276f
commit c2692f8875

View File

@ -1156,7 +1156,7 @@ void MacroAssembler::biased_locking_enter(Register lock_reg,
// the prototype header is no longer biased and we have to revoke
// the bias on this object.
testptr(header_reg, markWord::biased_lock_mask_in_place);
jccb(Assembler::notZero, try_revoke_bias);
jcc(Assembler::notZero, try_revoke_bias);
// Biasing is still enabled for this data type. See whether the
// epoch of the current bias is still valid, meaning that the epoch