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
8292385: assert(ctrl == kit.control()) failed: Control flow was added although the intrinsic bailed out #10136
Conversation
|
@dean-long The following label 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 list. If you would like to change these labels, use the /label pull request command. |
Is it possible to create a jtreg test for this fix? |
It is probably possible, but when I tried I couldn't get it to reproduce. It depends on profiling information, so I had to use the replay file to reproduce it. |
So can you share us the replay file to verify the fix? |
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.
Looks good.
@dean-long This change now passes all automated pre-integration checks. 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 12 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.
|
You can find replay_pid37690.log in the attachment for the bug. I started with that and reduced it using JDK-8293287. I will attach that replay file to the bug as well. |
Thanks Tobias. |
May I ask how can I reproduce this bug with replay_pid37690.log? I tried this on Linux/x86_64
But it fails with the following error
Am I missing something? |
I can reproduce it with |
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.
LGTM
I would recommend to always use that flag when trying replay compilation. There's almost always an issue with some (often unrelated) class dependencies not being resolvable. |
Okay, got it. |
Mailing list message from dean.long at oracle.com on hotspot-compiler-dev: On 9/1/22 6:46 PM, Jie Fu wrote:
It is probably possible, but when I tried I couldn't get it to dl |
Thanks Vladimir. Thanks @DamonFool. |
/integrate |
Going to push as commit 5757e21.
Your commit was automatically rebased without conflicts. |
@dean-long Pushed as commit 5757e21. |
The problem is caused by missing bailout logic in inline_string_char_access(). This PR adds the needed logic to match other intrinsics.
I tried to come up with a stand-alone test case, but was not successful.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/10136/head:pull/10136
$ git checkout pull/10136
Update a local copy of the PR:
$ git checkout pull/10136
$ git pull https://git.openjdk.org/jdk pull/10136/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 10136
View PR using the GUI difftool:
$ git pr show -t 10136
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/10136.diff