8274501: c2i entry barriers read int as long on AArch64

Reviewed-by: shade, kbarrett, aph
This commit is contained in:
Erik Österlund 2021-09-30 15:52:36 +00:00
parent c57ed22e77
commit f08180f35f

View File

@ -276,7 +276,7 @@ void BarrierSetAssembler::c2i_entry_barrier(MacroAssembler* masm) {
__ load_method_holder_cld(rscratch1, rmethod);
// Is it a strong CLD?
__ ldr(rscratch2, Address(rscratch1, ClassLoaderData::keep_alive_offset()));
__ ldrw(rscratch2, Address(rscratch1, ClassLoaderData::keep_alive_offset()));
__ cbnz(rscratch2, method_live);
// Is it a weak but alive CLD?