RFR: 8370200: Crash: assert(outer->outcnt() >= phis + 2 - be_loads && outer->outcnt() <= phis + 2 + stores + 1) failed: only phis [v4]

Emanuel Peter epeter at openjdk.org
Fri Dec 12 17:13:02 UTC 2025


On Fri, 12 Dec 2025 16:01:59 GMT, Roland Westrelin <roland at openjdk.org> wrote:

>> So `iArrFld[]` must be null for this to reproduce?
>
> I tried to reproduce it without it but couldn't. I'm not sure why the exception handling code is needed but it seems it is.

But the `main` method is not even compiled, right? Do we ever deopt, and then recompile maybe? I suppose don't worry about it too much. I just don't like random catch statements, because they could hide bugs down the line. But it is a very slim chance that this would happen anyway.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28677#discussion_r2614985150


More information about the hotspot-compiler-dev mailing list