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: 2020-12-30
  • 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.

To download the current JDK release, click here.
JDK 11 JDK 16
11.0.11-oracleFixed 16 b24Fixed
Description
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.
28-12-2020

Changeset: 79ac0418 Author: Nick Gasson <ngasson@openjdk.org> Date: 2020-11-11 09:59:56 +0000 URL: https://github.com/openjdk/jdk/commit/79ac0418
11-11-2020