Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

8337780: RISC-V: C2: Change C calling convention for sp to NS #87

Conversation

RealFYang
Copy link
Member

@RealFYang RealFYang commented Aug 30, 2024

Clean backport of JDK-8337780 to reduce frame size by 16 bytes and improve performance for some C2 runtime stubs as we do not have to save sp on the method entry. Gtest & Tier1-3 tested on linux-riscv64 platform.


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-8337780 needs maintainer approval

Issue

  • JDK-8337780: RISC-V: C2: Change C calling convention for sp to NS (Enhancement - P4 - Approved)

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk23u.git pull/87/head:pull/87
$ git checkout pull/87

Update a local copy of the PR:
$ git checkout pull/87
$ git pull https://git.openjdk.org/jdk23u.git pull/87/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 87

View PR using the GUI difftool:
$ git pr show -t 87

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk23u/pull/87.diff

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Aug 30, 2024

👋 Welcome back fyang! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Aug 30, 2024

@RealFYang 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:

8337780: RISC-V: C2: Change C calling convention for sp to NS

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 no new commits pushed to the master branch. If another commit should be pushed before you perform the /integrate command, your PR will be automatically rebased. If you prefer to avoid any potential automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot changed the title Backport 53db937dd0766695906dc20c1dbbd3228c02fe1e 8337780: RISC-V: C2: Change C calling convention for sp to NS Aug 30, 2024
@openjdk
Copy link

openjdk bot commented Aug 30, 2024

This backport pull request has now been updated with issue from the original commit.

@RealFYang RealFYang marked this pull request as ready for review August 30, 2024 01:45
@openjdk
Copy link

openjdk bot commented Aug 30, 2024

⚠️ @RealFYang This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.

@openjdk openjdk bot added the rfr Pull request is ready for review label Aug 30, 2024
@RealFYang
Copy link
Member Author

/approval request Clean backport of JDK-8337780 to reduce frame size by 16 bytes and improve performance for some C2 runtime stubs as we do not have to save sp on the method entry. This is a RISC-V specific change. Tier1-3 tested on linux-riscv64 platform.

@openjdk
Copy link

openjdk bot commented Aug 30, 2024

@RealFYang
8337780: The approval request has been created successfully.

@openjdk openjdk bot added the approval label Aug 30, 2024
@mlbridge
Copy link

mlbridge bot commented Aug 30, 2024

Webrevs

@openjdk openjdk bot added ready Pull request is ready to be integrated and removed approval labels Sep 2, 2024
@RealFYang
Copy link
Member Author

/integrate

@openjdk
Copy link

openjdk bot commented Sep 2, 2024

Going to push as commit 7bdece3.

@openjdk openjdk bot added the integrated Pull request has been integrated label Sep 2, 2024
@openjdk openjdk bot closed this Sep 2, 2024
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Sep 2, 2024
@openjdk
Copy link

openjdk bot commented Sep 2, 2024

@RealFYang Pushed as commit 7bdece3.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport clean integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

1 participant