-
Notifications
You must be signed in to change notification settings - Fork 129
8332920: C2: Partial Peeling is wrongly applied for CmpU with negative limit #728
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
8332920: C2: Partial Peeling is wrongly applied for CmpU with negative limit #728
Conversation
👋 Welcome back mdoerr! A progress list of the required criteria for merging this PR into |
@TheRealMDoerr 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 51 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 |
This backport pull request has now been updated with issue from the original commit. |
|
Webrevs
|
@chhagedorn: I'm getting timeouts when trying the new test in JDK 21u:
Do you know if there's a bug or a performance problem? The related issues are already integrated. |
The tests use the new I suggest to simply change |
Thanks! That has helped. |
* @bug 8332920 | ||
* @summary Tests partial peeling at unsigned tests with limit being negative in exit tests "i >u limit". | ||
* @run main/othervm -Xbatch -XX:-TieredCompilation | ||
* -XX:CompileCommand=compileonly,*TestPartialPeel*::original*,*TestPartialPeel*::test* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need separate CompileCommand=compileonly
statements since they only supports one pattern. The idea of JDK-8027711 was to keep the benefit of defining multiple patterns with CompileOnly
but also getting the same syntax as used by CompileCommand=compileonly
. This was the reason I used CompileOnly
here in mainline and not a compile command.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! I was not aware of that. Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're welcome :-) looks good now!
Thanks a lot for your support and your review! |
/approval request Should get backported for parity with 21.0.5-oracle. Applies cleanly, but the test needs an adaptation which has been reviewed by the original author. Tier 1-4 have passed. |
@TheRealMDoerr |
/integrate |
Going to push as commit 7328df4.
Your commit was automatically rebased without conflicts. |
@TheRealMDoerr Pushed as commit 7328df4. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Originally clean backport of JDK-8332920.
Unfortunately,
-XX:CompileOnly
is not available in 21u, so I had to adapt the new test compiler/loopopts/TestPartialPeelAtUnsignedTestsNegativeLimit.java (see 2nd and 3rd commit). Tier 1-4 have passed.Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk21u-dev.git pull/728/head:pull/728
$ git checkout pull/728
Update a local copy of the PR:
$ git checkout pull/728
$ git pull https://git.openjdk.org/jdk21u-dev.git pull/728/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 728
View PR using the GUI difftool:
$ git pr show -t 728
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk21u-dev/pull/728.diff
Webrev
Link to Webrev Comment