8305711: Arm: C2 always enters slowpath for monitorexit

Reviewed-by: shade, kvn
This commit is contained in:
Thomas Stuefe 2023-04-07 05:57:16 +00:00
parent ce6e7461dc
commit c67bbcea92

@ -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);
}