RFR: 8360389: Support printing from C2 compiled code [v12]
Benoît Maillard
bmaillard at openjdk.org
Fri Oct 3 10:27:49 UTC 2025
On Thu, 2 Oct 2025 15:29:24 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
>> This should not happen because we got here by following data inputs, so typically it cannot be an `IfNode` (I have added a comment). However @TobiHartmann pointed out that if we are trying to print the return value of a java call we should use the fall through projection of the `CatchNode` after the call. I have made the necessary changes.
>
> 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?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26475#discussion_r2401468154
More information about the hotspot-dev
mailing list