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:01 UTC 2025


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

>> src/hotspot/share/opto/cfgnode.cpp line 2701:
>> 
>>> 2699:       }
>>> 2700:     }
>>> 2701:   }
>> 
>> Another drive-by question:
>> You are refactoring / fixing existing optimizations:
>> Are there IR tests that cover the original optimization? How do we avoid that we lose optimizations here?
>
> None was integrated with the initial change. I added one.

And how confident are you that this one test ensures there won't be a regression?

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

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


More information about the hotspot-compiler-dev mailing list