RFR: 8359057: AbstractInterpreter::is_not_reached returns incorrectly with invokedynamic

Vladimir Ivanov vlivanov at openjdk.org
Tue Oct 21 21:11:01 UTC 2025


On Tue, 21 Oct 2025 16:44:22 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:

> Just curious, does this have any observable effect that can surface in a regression test?

I took a closer look and the bug is benign since, as the code is shaped now, it doesn't affect inlining decisions in any way. Indy instructions are linked to invokers which are force inlined and it overrides `AbstractInterpreter::is_not_reached() == true` case when it comes to deciding whether to inline through the indy call or not.

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

PR Comment: https://git.openjdk.org/jdk/pull/27904#issuecomment-3429557582


More information about the hotspot-runtime-dev mailing list