From c2692f88756d6760fa0e2c4b8e64cdeaa03d32f2 Mon Sep 17 00:00:00 2001 From: Martin Doerr Date: Mon, 28 Sep 2020 09:06:31 +0000 Subject: [PATCH] =?UTF-8?q?8225329:=20-XX:+PrintBiasedLockingStatistics=20?= =?UTF-8?q?causes=20crash=20during=20initia=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: stuefe, dholmes --- src/hotspot/cpu/x86/macroAssembler_x86.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/cpu/x86/macroAssembler_x86.cpp b/src/hotspot/cpu/x86/macroAssembler_x86.cpp index e975a6eb842..b1521cb6fe2 100644 --- a/src/hotspot/cpu/x86/macroAssembler_x86.cpp +++ b/src/hotspot/cpu/x86/macroAssembler_x86.cpp @@ -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