From c67bbcea92919fea9b6f7bbcde8ba4488289d174 Mon Sep 17 00:00:00 2001 From: Thomas Stuefe Date: Fri, 7 Apr 2023 05:57:16 +0000 Subject: [PATCH] 8305711: Arm: C2 always enters slowpath for monitorexit Reviewed-by: shade, kvn --- src/hotspot/cpu/arm/c2_MacroAssembler_arm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/cpu/arm/c2_MacroAssembler_arm.cpp b/src/hotspot/cpu/arm/c2_MacroAssembler_arm.cpp index 7996f817c39..70c16a2ab01 100644 --- a/src/hotspot/cpu/arm/c2_MacroAssembler_arm.cpp +++ b/src/hotspot/cpu/arm/c2_MacroAssembler_arm.cpp @@ -148,7 +148,7 @@ void C2_MacroAssembler::fast_unlock(Register Roop, Register Rbox, Register Rscra // Restore the object header bool allow_fallthrough_on_failure = true; bool one_shot = true; - cas_for_lock_release(Rmark, Rbox, Roop, Rscratch, done, allow_fallthrough_on_failure, one_shot); + cas_for_lock_release(Rbox, Rmark, Roop, Rscratch, done, allow_fallthrough_on_failure, one_shot); bind(done); }