RFR: 8360389: Support printing from C2 compiled code [v12]

Vladimir Kozlov kvn at openjdk.org
Fri Oct 3 14:46:52 UTC 2025


On Fri, 3 Oct 2025 10:24:31 GMT, Benoît Maillard <bmaillard at openjdk.org> wrote:

>> Then which CFG/Multi nodes you expect here?
>
> I have run all the examples I have, and I have found that the only time this path is executed is when we reach the `StartNode`. I would leave it as it is just in case. What do you think?

I suggest to add `assert(!n->is_MultiBranch(), "unexpected node: %s", n->Name());`  if you are sure we never see such nodes here.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26475#discussion_r2402222767


More information about the hotspot-dev mailing list