[jdk17] RFR: 8269795: C2: Out of bounds array load floats above its range check in loop peeling resulting in SEGV

Vladimir Kozlov kvn at openjdk.java.net
Fri Jul 9 15:40:55 UTC 2021


On Fri, 9 Jul 2021 08:23:32 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

>> Unfortunately, that's not possible as `test` could be an `IfProj` with only a control input.
>
> Right, too bad.

Add comment why you cache the value - `dominated_by() call may modify it`.

-------------

PR: https://git.openjdk.java.net/jdk17/pull/235


More information about the hotspot-compiler-dev mailing list