Skip to content

Commit

Permalink
8296136: Use correct register in aarch64_enc_fast_unlock()
Browse files Browse the repository at this point in the history
Reviewed-by: rkennke
Backport-of: 7619602c365acee73a490f05be2bd0d3dd09d7a4
  • Loading branch information
GoeLin committed Jan 2, 2023
1 parent 7be0b5a commit 9a2743f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/cpu/aarch64/aarch64.ad
Expand Up @@ -3916,7 +3916,7 @@ encode %{

// Handle existing monitor.
__ ldr(tmp, Address(oop, oopDesc::mark_offset_in_bytes()));
__ tbnz(disp_hdr, exact_log2(markWord::monitor_value), object_has_monitor);
__ tbnz(tmp, exact_log2(markWord::monitor_value), object_has_monitor);

// Check if it is still a light weight lock, this is is true if we
// see the stack address of the basicLock in the markWord of the
Expand Down

1 comment on commit 9a2743f

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.