Integrated: 8256025: AArch64: MachCallRuntimeNode::ret_addr_offset() is incorrect for stub calls

Nick Gasson ngasson at openjdk.java.net
Wed Nov 11 10:02:58 UTC 2020


On Tue, 10 Nov 2020 03:19:23 GMT, Nick Gasson <ngasson at openjdk.org> wrote:

> The PR for JDK-8254231 introduces a new assertion in opto/output.cpp to
> check the current instruction offset against the offset of the call
> return address reported by ret_addr_offset(). This fails on AArch64
> because MachCallRuntimeNode::ret_addr_offset() claims four instructions
> are generated for a stub call (far branch) but actually it's just
> one (blr to stub or trampoline).
> 
> Tested tier1.

This pull request has now been integrated.

Changeset: 79ac0418
Author:    Nick Gasson <ngasson at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/79ac0418
Stats:     4 lines in 1 file changed: 2 ins; 0 del; 2 mod

8256025: AArch64: MachCallRuntimeNode::ret_addr_offset() is incorrect for stub calls

Reviewed-by: aph

-------------

PR: https://git.openjdk.java.net/jdk/pull/1138


More information about the hotspot-compiler-dev mailing list