RFR: 8373508: C2: sinking CreateEx out of loop breaks the graph
Roland Westrelin
roland at openjdk.org
Wed Dec 17 14:22:58 UTC 2025
On Wed, 17 Dec 2025 10:56:07 GMT, Dean Long <dlong at openjdk.org> wrote:
> > It's actually not clear to me what that logic in CreateExNode::Identity() is expected to do and I wonder if it's still needed.
>
> I looked in the old SCCS history, and this code used to check if the call was to OptoRuntime::rethrow_stub(), so it appears to be trying to get the oop from arg0 to the rethrow runtime call. This code looks obsolete and broken to me.
Does it sound ok to you if I file a follow up bugs to look into that?
Whether that code is removed or not, it makes little sense to sink the `CreateEx` anyway.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28842#issuecomment-3665574161
More information about the hotspot-compiler-dev
mailing list