Integrated: 8261071: AArch64: Refactor interpreter native wrappers

Anton Kozlov akozlov at openjdk.java.net
Fri Feb 12 10:30:41 UTC 2021


On Thu, 4 Feb 2021 22:01:34 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:

> Please review refactoring of interpreter signature handlers on aarch64. The main objective is to prepare for the new calling convention of macOS/AArch64, although this patch brings nothing from the new convention.
> 
> Tested with signature stress tests and tier1 on Linux/AArch64.
> 
> I have stared with a single function implementing SlowSignatureHandler (https://github.com/openjdk/jdk/commit/5ef1bd15c3bb174f4aed5e358d1ce2fff2846858#diff-1ff58ce70aeea7e9842d34e8d8fd9c94dd91182999d455618b2a171efd8f742cR164). The single function was compact but obscure. I was shuffling it until I eventually came to something similar of the initial approach with few pieces abstracted away.
> 
> The most notable changes in the final version should be
> * we count only parameters passed in registers
> * ldrw/strw are used to pass via stack in SignatureHandlerGenerator::pass_int

This pull request has now been integrated.

Changeset: 682e78e8
Author:    Anton Kozlov <akozlov at openjdk.org>
Committer: Vladimir Kempik <vkempik at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/682e78e8
Stats:     266 lines in 2 files changed: 39 ins; 147 del; 80 mod

8261071: AArch64: Refactor interpreter native wrappers

Reviewed-by: aph

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

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


More information about the hotspot-dev mailing list