RFR: 8373508: C2: sinking CreateEx out of loop breaks the graph

Dean Long dlong at openjdk.org
Wed Dec 17 21:21:28 UTC 2025


On Wed, 17 Dec 2025 14:19:21 GMT, Roland Westrelin <roland at openjdk.org> wrote:

>  Whether that code is removed or not, it makes little sense to sink the CreateEx anyway.

That's the part I'm still trying to understand.  If we fix CreateExNode::Identity now and allow it to move outside the loop, the crash goes away.  My understanding is that the CreateEx is for the exception handler.  If the exception handler had a safepoint, then moving it out of the loop seems useful.  What do you think?

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

PR Comment: https://git.openjdk.org/jdk/pull/28842#issuecomment-3667213700


More information about the hotspot-compiler-dev mailing list