I'd like to backport JDK-8248552 to jdk15u for parity with jdk11u.
The original patch applied cleanly.
Tested with the test attached to the corresponding issue and the test added in this patch.
In addition tested with jtreg:test/hotspot/jtreg/compiler, no regression.
Change must not contain extraneous whitespace
Commit message must refer to an issue
Change must be properly reviewed
JDK-8248552: C2 crashes with SIGFPE due to division by zero
👋 Welcome back omikhaltcova! 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.
@omikhaltsova This change now passes all automated pre-integration checks.
After integration, the commit message for the final commit will be:
8248552: C2 crashes with SIGFPE due to division by zero
Bail out in PhaseIdealLoop:split_thru_phi when trying to split a Div or ModNode iv phi whose zero check was removed but could potentially still be zero based on type information.
At the time when this comment was updated there had been no new commits pushed to the master branch. If another commit should be pushed before you perform the /integrate command, your PR will be automatically rebased. If you prefer to avoid any potential automatic rebasing, please check the documentation for the /integrate command for further details.
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.