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

Daniel Lundén dlunden at openjdk.org
Mon Dec 15 14:45:07 UTC 2025


On Mon, 15 Dec 2025 14:13:36 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> @eme64: My understanding of this issue is that it is really a case of nodes not being added properly to the IGVN worklist. What @rwestrel does is simply adding the missing entries to the worklist; he is not changing an existing optimization.
>
> @dlunde @robcasloz  @rwestrel I leave this to you all. If you are very sure that the change is trivial, and that no additional IR tests are helpful, then leave it. But I've seen it happen multiple times that seemingly "trivial" changes have suddenly disabled older optimizations, and nobody noticed in the review. That's why I'm cautious in these cases.

@eme64 Right, always good to be cautious. In this case, the only thing we do is  `igvn->_worklist.push(u);`, which should be harmless and really only enable further optimizations. I'll let @rwestrel confirm!

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

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


More information about the hotspot-compiler-dev mailing list