8324517: C2: crash in compiled code because of dependency on removed range check CastIIs#1691
8324517: C2: crash in compiled code because of dependency on removed range check CastIIs#1691satyenme wants to merge 1 commit intoopenjdk:masterfrom
Conversation
|
👋 Welcome back ssubramaniam! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
This backport pull request has now been updated with issue from the original commit. |
|
|
|
/approval request for backport. Fix adjusts code to retain range check CastII nodes after loop opts until the end of optimizations, removing them at the end of all optimizations to avoid performance regressions. Risk: Medium. Tip change was merged in May 2024, but adjusting compilation logic. Adds test to help mitigate risk. Testing:
|
|
Missed that tip change was backed out and redone, closing |
Backporting JDK-8324517: C2: crash in compiled code because of dependency on removed range check CastIIs. Fix adjusts code to retain range check CastII nodes after loop opts until the end of optimizations, removing them at the end of all optimizations to avoid performance regressions. Ran GHA Sanity Checks, local Tier 1 and 2, and new
test/hotspot/jtreg/compiler/rangechecks/TestArrayAccessAboveRCAfterRCCastIIEliminated.javatests. Patch is clean.Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk21u-dev.git pull/1691/head:pull/1691$ git checkout pull/1691Update a local copy of the PR:
$ git checkout pull/1691$ git pull https://git.openjdk.org/jdk21u-dev.git pull/1691/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1691View PR using the GUI difftool:
$ git pr show -t 1691Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk21u-dev/pull/1691.diff
Using Webrev
Link to Webrev Comment