Skip to content

Commit

Permalink
8336313: [lworld] C2 compilation hits asserts with -XX:VerifyIterativ…
Browse files Browse the repository at this point in the history
…eGVN=11
  • Loading branch information
TobiHartmann committed Aug 12, 2024
1 parent 9c8e783 commit 30ec998
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hotspot/share/opto/inlinetypenode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1148,6 +1148,7 @@ void InlineTypeNode::initialize_fields(GraphKit* kit, MultiNode* multi, uint& ba
if (is_init == nullptr) {
// Will only be initialized below, use dummy node for now
is_init = new Node(1);
is_init->init_req(0, kit->control()); // Add an input to prevent dummy from being dead
gvn.set_type_bottom(is_init);
}
Node* null_ctrl = kit->top();
Expand Down Expand Up @@ -1215,6 +1216,7 @@ void InlineTypeNode::initialize_fields(GraphKit* kit, MultiNode* multi, uint& ba
gvn.hash_delete(cmp);
cmp->set_req(1, is_init);
gvn.hash_find_insert(cmp);
gvn.record_for_igvn(cmp);
base_input++;
}
}
Expand Down

0 comments on commit 30ec998

Please sign in to comment.