Integrated: 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
Wed May 19 01:28:40 UTC 2021


On Mon, 17 May 2021 11:44:48 GMT, Hui Shi <hshi 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).

This pull request has now been integrated.

Changeset: 324defe2
Author:    Hui Shi <hshi at openjdk.org>
Committer: Jie Fu <jiefu at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/324defe2b6c83de76a37d1b4b360869a77bed036
Stats:     3 lines in 2 files changed: 0 ins; 0 del; 3 mod

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

Reviewed-by: roland, thartmann

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

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


More information about the hotspot-compiler-dev mailing list