Skip to content

Commit

Permalink
8317507: C2 compilation fails with "Exceeded _node_regs array"
Browse files Browse the repository at this point in the history
Reviewed-by: roland, andrew
Backport-of: a5818972c16bd883d768ff2fb23a8aa9e0142c65
  • Loading branch information
martinuy authored and gnu-andrew committed Apr 7, 2024
1 parent 97be547 commit 43cb875
Show file tree
Hide file tree
Showing 2 changed files with 601 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hotspot/src/share/vm/adlc/output_c.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3023,6 +3023,8 @@ static void define_fill_new_machnode(bool used, FILE *fp_cpp) {
fprintf(fp_cpp, " if( i != cisc_operand() ) \n");
fprintf(fp_cpp, " to[i] = _opnds[i]->clone(C);\n");
fprintf(fp_cpp, " }\n");
fprintf(fp_cpp, " // Do not increment node index counter, since node reuses my index\n");
fprintf(fp_cpp, " C->set_unique(C->unique() - 1);\n");
fprintf(fp_cpp, "}\n");
}
fprintf(fp_cpp, "\n");
Expand Down
Loading

0 comments on commit 43cb875

Please sign in to comment.