8261071: AArch64: Refactor interpreter native wrappers #2413
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 (5ef1bd1#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
Java local structure is very similar between CPUs. The function is a simple one:
@AntonKozlov This change now passes all automated pre-integration checks.
After integration, the commit message for the final commit will be:
At the time when this comment was updated there had been 43 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@theRealAph) but any other Committer may sponsor as well.
Your commit was automatically rebased without conflicts.
Pushed as commit 682e78e.