JDK-8256025 : AArch64: MachCallRuntimeNode::ret_addr_offset() is incorrect for stub calls
Type:Bug
Component:hotspot
Sub-Component:compiler
Affected Version:11,16
Priority:P3
Status:Resolved
Resolution:Fixed
OS:linux
CPU:aarch64
Submitted:2020-11-09
Updated:2024-12-13
Resolved:2020-11-11
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.
This was exposed by a new assertion in the PR for JDK-8254231: MachCallRuntimeNode::ret_addr_offset() claims 4 instructions are generated for a stub call (far branch) but actually it's just one (blr to stub or trampoline).
Comments
Fix Request
Should get backported for parity with 11.0.11-oracle. Applies cleanly.