-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8241503: C2: Share MacroAssembler between mach nodes during code emission #9074
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Merge branch '8241503-share-asm' of https://github.com/JohnTortugo/jdk into 8241503-share-asm
Merge branch '8241503-share-asm' of https://github.com/JohnTortugo/jdk into 8241503-share-asm
|
👋 Welcome back JohnTortugo! A progress list of the required criteria for merging this PR into |
|
@JohnTortugo this pull request can not be integrated into git checkout 8241503-share-asm
git fetch https://git.openjdk.java.net/jdk master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push |
|
|
|
@JohnTortugo The following labels will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
|
Nice work. I think we can target this for JDK 20. Please, update it to latest JDK - there are conflicts. |
|
Hi again, can someone with access to a PPC64, S360, etc. help with testing this? |
|
@JohnTortugo This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
I'll resolve the conflicts and continue working on this. Any help testing will be appreciated. |
|
@JohnTortugo This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
@JohnTortugo This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the |
Hi there, can I please get some reviews on this change? The patch is to make the code reuse the same C2_MacroAssembler object during the emission of CPU instructions of a given compilation.
As you'll see the change affects all backends. I've done my best to keep the changes minimal/simple.
I tested this locally on Linux x86_64, x86_32 and MacOS Arm32, and ARM64.
I need help testing the changes on PPC, S390, and RISCV. I cross-compiled the JVM locally and the builds are all succeeding, but I couldn't use an emulator (yet) or any real hardware (no access to one) to test the changes on these platforms. I see that GitHub actions do some tests on S390 and PPC but the tests seem to not be extensive.
Thanks in advance,
Cesar
Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/9074/head:pull/9074$ git checkout pull/9074Update a local copy of the PR:
$ git checkout pull/9074$ git pull https://git.openjdk.org/jdk pull/9074/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 9074View PR using the GUI difftool:
$ git pr show -t 9074Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/9074.diff