RFR: 8260653: Unreachable nodes keep speculative types alive [v2]
Nils Eliasson
neliasso at openjdk.java.net
Wed Feb 17 18:16:04 UTC 2021
On Wed, 17 Feb 2021 16:34:43 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:
>> Nils Eliasson has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Check if node is live before assert
>
> src/hotspot/share/opto/phaseX.cpp line 341:
>
>> 339: n != sentinel_node &&
>> 340: n->is_Type() &&
>> 341: n->outcnt() > 0 &&
>
> `live_nodes.member(n)` makes ` n->outcnt() > 0` redundant, doesn't it?
Yes it does. I've updated the patch.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2606
More information about the hotspot-compiler-dev
mailing list