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
8266438: Compile::remove_useless_nodes does not remove opaque nodes #3840
Conversation
|
@TobiHartmann 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. |
@TobiHartmann 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 8 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the
|
Thanks for the review, Vladimir! |
Thanks for the review, Christian! |
/integrate |
@TobiHartmann Since your change was applied there have been 18 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit b651904. |
JDK-8255026 refactored the code in
Compile::remove_useless_nodes
and as a result, useless nodes are no longer removed from the_predicate_opaqs
list. Before the change, the call toremove_macro_node
took care of this:jdk/src/hotspot/share/opto/compile.hpp
Lines 676 to 684 in 194bcec
But the new code only removes nodes from the
_macro_nodes
list. Useless nodes should be removed from the_skeleton_predicate_opaqs
list as well.I've seen failures due to this with a change in Valhalla (where we call
remove_useless_nodes
more often) but not in mainline. I think this should still be fixed in mainline.Thanks,
Tobias
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/3840/head:pull/3840
$ git checkout pull/3840
Update a local copy of the PR:
$ git checkout pull/3840
$ git pull https://git.openjdk.java.net/jdk pull/3840/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 3840
View PR using the GUI difftool:
$ git pr show -t 3840
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/3840.diff