8296136: Use correct register in aarch64_enc_fast_unlock()
Reviewed-by: aph, fyang
This commit is contained in:
parent
47d513baa2
commit
7619602c36
@ -3866,7 +3866,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);
|
||||
|
||||
if (!UseHeavyMonitors) {
|
||||
// Check if it is still a light weight lock, this is is true if we
|
||||
|
@ -2474,7 +2474,7 @@ encode %{
|
||||
|
||||
// Handle existing monitor.
|
||||
__ ld(tmp, Address(oop, oopDesc::mark_offset_in_bytes()));
|
||||
__ andi(t0, disp_hdr, markWord::monitor_value);
|
||||
__ andi(t0, tmp, markWord::monitor_value);
|
||||
__ bnez(t0, object_has_monitor);
|
||||
|
||||
if (!UseHeavyMonitors) {
|
||||
|
Loading…
Reference in New Issue
Block a user