Skip to content

Commit 3881614

Browse files
committedJan 31, 2023
8301545: [Lilliput] Fix aarch64 interpreter load_nklass()
Reviewed-by: shade
1 parent 10e00d3 commit 3881614

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4039,7 +4039,7 @@ void MacroAssembler::load_nklass(Register dst, Register src) {
40394039
// Check if we can take the (common) fast path, if obj is unlocked.
40404040
ldr(dst, Address(src, oopDesc::mark_offset_in_bytes()));
40414041
tst(dst, markWord::monitor_value);
4042-
br(Assembler::NE, fast);
4042+
br(Assembler::EQ, fast);
40434043

40444044
// Fetch displaced header
40454045
ldr(dst, Address(dst, OM_OFFSET_NO_MONITOR_VALUE_TAG(header)));

0 commit comments

Comments
 (0)
Please sign in to comment.