You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This pull request contains a backport of commit ed70910b from the openjdk/jdk repository. This is a clean backport.
In addition to fixing leaf / pure runtime calls not eliminated when the result is not used, this commit is also necessary for backporting JDK-8378713, which is in process backporting to jdk26u and eventually this repo as well.
The commit being backported was authored by Marc Chevalier on 22 Jul 2025 and was reviewed by Tobias Hartmann and Vladimir Ivanov.
👋 Welcome back kxu! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.
This backport pull request has now been updated with issue from the original commit.
openjdkbot
added
backport
Port of a pull request already in a different code base
clean
Identical backport; no merge resolution required
labels
Apr 7, 2026
⚠️@tabjy This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.
/approval request Fix Request 25u-dev
Allows removing unused leaf/pure runtime calls during IGVN. This is also a dependency for JDK-8378713 that provides necessary infrastructure for constant-folding call nodes. The latter resolves a performance regression.
Risk is low. The patch modifies C2's call node logic to identify and eliminate pure calls that do not have side effects and whose outputs are unused.
Applies cleanly. tier1 and tier2-ctw pass. Unfortunately I don't have the resources to run all of tier2.
@tabjy
8347901: The approval request has been created successfully.
openjdkbot
added
approval
Requires approval; will be removed when approval is received
and removed
approval
Requires approval; will be removed when approval is received
labels
Apr 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backportPort of a pull request already in a different code basecleanIdentical backport; no merge resolution requiredrfrPull request is ready for review
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi all,
This pull request contains a backport of commit ed70910b from the openjdk/jdk repository. This is a clean backport.
In addition to fixing leaf / pure runtime calls not eliminated when the result is not used, this commit is also necessary for backporting JDK-8378713, which is in process backporting to jdk26u and eventually this repo as well.
The commit being backported was authored by Marc Chevalier on 22 Jul 2025 and was reviewed by Tobias Hartmann and Vladimir Ivanov.
Thanks!
Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk25u-dev.git pull/452/head:pull/452$ git checkout pull/452Update a local copy of the PR:
$ git checkout pull/452$ git pull https://git.openjdk.org/jdk25u-dev.git pull/452/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 452View PR using the GUI difftool:
$ git pr show -t 452Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk25u-dev/pull/452.diff
Using Webrev
Link to Webrev Comment