Integrated: 8299658: C1 compilation crashes in LinearScan::resolve_exception_edge

Martin Doerr mdoerr at openjdk.org
Mon Aug 28 10:17:16 UTC 2023


On Fri, 18 Aug 2023 20:17:52 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> This is a quick fix for the C1 problem described in the JBS issue.
> When we find an illegal operand (modelled by nullptr) while resolving an exception edge we can propagate this state to the phi function and skip the edge.
> 
> If somebody finds a better way to propagate the "illegal" state to the phi function, I can change or close this PR.
> 
> Please review. A nice regression test would be a good thing, but probably not easy to write.

This pull request has now been integrated.

Changeset: cf2d33ca
Author:    Martin Doerr <mdoerr at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/cf2d33ca2ee08c61596ab10b7602500a6931fa31
Stats:     8 lines in 1 file changed: 8 ins; 0 del; 0 mod

8299658: C1 compilation crashes in LinearScan::resolve_exception_edge

Reviewed-by: thartmann, lucy

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

PR: https://git.openjdk.org/jdk/pull/15348


More information about the hotspot-compiler-dev mailing list