Skip to content

Commit 7551529

Browse files
catapTobiHartmann
authored andcommitted
8305995: Footprint regression from JDK-8224957
Reviewed-by: kvn, thartmann
1 parent 02347d0 commit 7551529

File tree

2 files changed

+1237
-1
lines changed

2 files changed

+1237
-1
lines changed

src/hotspot/share/opto/node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1310,7 +1310,7 @@ bool Node::dominates(Node* sub, Node_List &nlist) {
13101310
} else if (sub == up && sub->is_Region() && sub->req() == 2) {
13111311
// Take in(1) path on the way up to 'dom' for regions with only one input
13121312
up = sub->in(1);
1313-
} else if (sub == up && sub->is_Region() && sub->req() == 3) {
1313+
} else if (sub == up && sub->is_Region()) {
13141314
// Try both paths for Regions with 2 input paths (it may be a loop head).
13151315
// It could give conservative 'false' answer without information
13161316
// which region's input is the entry path.

0 commit comments

Comments
 (0)