-
Notifications
You must be signed in to change notification settings - Fork 95
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
8320682: [AArch64] C1 compilation fails with "Field too big for insn" #956
Conversation
👋 Welcome back bulasevich! A progress list of the required criteria for merging this PR into |
@bulasevich 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 76 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 (@phohensee) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
This backport pull request has now been updated with issue from the original commit. |
2676776
to
cbd4aa1
Compare
@bulasevich Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
|
/approval |
@bulasevich usage: |
/approval request |
@bulasevich |
/integrate |
@bulasevich |
/sponsor |
Going to push as commit 6ed940b.
Your commit was automatically rebased without conflicts. |
@phohensee @bulasevich Pushed as commit 6ed940b. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Hi all,
This is a backport of JDK-8320682 change to fix C1 internal error caused by adr limit being broken by too large NMethodSizeLimit option value.
The backported patch includes a change to the TestC1Globals.java that does not yet exist in the jdk21u codebase. In the mainline the test has four updates:
With this change I simply copy version [3] of TestC1Globals.java corresponding to this change in jdk-23. Why not backport [1]+[2]+[3] to have a clean incremental patch?
Testing: jtreg tier1-3.
Without the patch
$ fastdebug/bin/java -XX:NMethodSizeLimit=4M
causes theguarantee(chk == -1 || chk == 0) failed: Field too big for insn
. With the change the 4M value becomes invalid.Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk21u-dev.git pull/956/head:pull/956
$ git checkout pull/956
Update a local copy of the PR:
$ git checkout pull/956
$ git pull https://git.openjdk.org/jdk21u-dev.git pull/956/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 956
View PR using the GUI difftool:
$ git pr show -t 956
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk21u-dev/pull/956.diff
Webrev
Link to Webrev Comment