8274550: c2i entry barriers read int as long on PPC
Reviewed-by: eosterlund, shade
This commit is contained in:
parent
2e690ba8bd
commit
5e4b514e6e
@ -178,7 +178,7 @@ void BarrierSetAssembler::c2i_entry_barrier(MacroAssembler *masm, Register tmp1,
|
||||
__ ld(tmp1_class_loader_data, in_bytes(InstanceKlass::class_loader_data_offset()), tmp1);
|
||||
|
||||
// Fast path: If class loader is strong, the holder cannot be unloaded.
|
||||
__ ld(tmp2, in_bytes(ClassLoaderData::keep_alive_offset()), tmp1_class_loader_data);
|
||||
__ lwz(tmp2, in_bytes(ClassLoaderData::keep_alive_offset()), tmp1_class_loader_data);
|
||||
__ cmpdi(CCR0, tmp2, 0);
|
||||
__ bne(CCR0, skip_barrier);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user