RFR: 8320308: C2 compilation crashes in LibraryCallKit::inline_unsafe_access [v2]
Tobias Holenstein
tholenstein at openjdk.org
Tue Sep 24 13:33:14 UTC 2024
On Thu, 19 Sep 2024 06:38:23 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
> Generally looks reasonable.
>
> Why does the `null` end up above the `CheckCastPP`, and why does the `CheckCastPP` not get constant folded to `null`? Maybe there is no `IGVN` happening since this pattern was created - and that is expected?
`null` end up above `CheckCastPP` during incremental inlining (see https://github.com/openjdk/jdk/pull/20033#issuecomment-2291151246). Yes, there is no IGVN performed in between because it is too expensive.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20033#issuecomment-2371277571
More information about the hotspot-compiler-dev
mailing list