8275584: Incorrect stack spilling in CallArranger on MacOS/AArch64 #746
8275584: Incorrect stack spilling in CallArranger on MacOS/AArch64 #746nick-arm wants to merge 6 commits intoopenjdk:foreign-memaccess+abifrom
Conversation
|
👋 Welcome back ngasson! A progress list of the required criteria for merging this PR into |
Webrevs
|
|
/contributor add @JornVernee |
|
@nick-arm |
src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/CallArranger.java
Outdated
Show resolved
Hide resolved
src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/CallArranger.java
Outdated
Show resolved
Hide resolved
|
@nick-arm This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 123 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. ➡️ To integrate this PR with the above commit message to the |
|
I'll integrate this one now unless there's any more reviews/comments? |
|
I think you're good to go :) |
|
/integrate |
|
Going to push as commit d575ec5.
Your commit was automatically rebased without conflicts. |
This patch adds special handling for argument spilling on M1 Mac which does not follow the standard AArch64. In the standard ABI arguments are first extended to the full 64-bit register width and then spilled but on macOS the arguments are spilled according to their original width and packed using theior natural. @JornVernee did most of the work to support this but there were a few issues remaining related to structspilling which I've fixed up in the last commit here.
Progress
Issue
Reviewers
Contributors
<jvernee@openjdk.org>Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/panama-foreign pull/746/head:pull/746$ git checkout pull/746Update a local copy of the PR:
$ git checkout pull/746$ git pull https://git.openjdk.org/panama-foreign pull/746/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 746View PR using the GUI difftool:
$ git pr show -t 746Using diff file
Download this PR as a diff file:
https://git.openjdk.org/panama-foreign/pull/746.diff