RFR: 8267212: test/jdk/java/util/Collections/FindSubList.java intermittent crash with "no reachable node should have no use"

Hui Shi hshi at openjdk.java.net
Tue May 18 10:33:38 UTC 2021


On Tue, 18 May 2021 08:04:35 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

>> … crash with "no reachable node should have no use"
>> 
>> Please help reivew this fix.
>> 
>> StrIntrinsicNode::Ideal uses Node::set_req to replace memory input, old memory input might have 0 use, but not added into PhaseGVN worklist. Using set_req_X to ensure add 0 out old memory input node into PhaseGVN worklist.
>> 
>> Find other two similar problemtic code in LoadNode::Ideal.
>> 
>> Tier1/2/3 pass with release/fastdebug build.
>> test/jdk/java/util/Collections/FindSubList.java doesn't fail in 100 runs (before fix 2/3 failure in 10 runs).
>
> Looks good to me too.

Thanks @TobiHartmann @rwestrel !

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

PR: https://git.openjdk.java.net/jdk/pull/4055


More information about the hotspot-compiler-dev mailing list