JDK-8154739 : AArch64: TemplateTable::fast_xaccess loads in wrong mode
Type:Bug
Component:hotspot
Sub-Component:compiler
Priority:P4
Status:Resolved
Resolution:Fixed
CPU:aarch64
Submitted:2016-04-20
Updated:2021-02-01
Resolved:2016-04-20
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
in fast_xaccess,
case itos:
__ ldr(r0, Address(r0, r1, Address::lsl(0)));
This is a full xword load but it should be a halfword.
Also,
__ membar(MacroAssembler::LoadLoad);
should be LoadLoad | LoadStore.