Skip to content

Commit 71d0858

Browse files
committedMay 5, 2021
8266522: Shenandoah: Shenandoah LRB calls wrong runtime barrier on aarch64
Reviewed-by: rkennke
1 parent 0ac84d1 commit 71d0858

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/hotspot/cpu/aarch64/gc/shenandoah/shenandoahBarrierSetAssembler_aarch64.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ void ShenandoahBarrierSetAssembler::load_reference_barrier(MacroAssembler* masm,
281281
} else {
282282
assert(is_phantom, "only remaining strength");
283283
assert(!is_narrow, "phantom access cannot be narrow");
284-
__ mov(lr, CAST_FROM_FN_PTR(address, ShenandoahRuntime::load_reference_barrier_weak));
284+
__ mov(lr, CAST_FROM_FN_PTR(address, ShenandoahRuntime::load_reference_barrier_phantom));
285285
}
286286
__ blr(lr);
287287
__ mov(rscratch1, r0);

0 commit comments

Comments
 (0)
Please sign in to comment.