Skip to content


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 committed Mar 27, 2024
1 parent 5256587 commit e72ea2d
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

1 comment on commit e72ea2d

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.