Skip to content

Commit 6991372

Browse files
catapPaul Hohensee
authored and
Paul Hohensee
committed
8305995: Footprint regression from JDK-8224957
Backport-of: 7551529854b325488b58481e11103b08a211aff4
1 parent 2570e72 commit 6991372

File tree

2 files changed

+1237
-1
lines changed

2 files changed

+1237
-1
lines changed

src/hotspot/share/opto/node.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1301,7 +1301,7 @@ bool Node::dominates(Node* sub, Node_List &nlist) {
13011301
} else if (sub == up && sub->is_Region() && sub->req() == 2) {
13021302
// Take in(1) path on the way up to 'dom' for regions with only one input
13031303
up = sub->in(1);
1304-
} else if (sub == up && sub->is_Region() && sub->req() == 3) {
1304+
} else if (sub == up && sub->is_Region()) {
13051305
// Try both paths for Regions with 2 input paths (it may be a loop head).
13061306
// It could give conservative 'false' answer without information
13071307
// which region's input is the entry path.

0 commit comments

Comments
 (0)