8244724: CTW: C2 compilation fails with "Live Node limit exceeded limit"

Fix live limit assert in node construction to be ignored during code generation in Compile::Code_Gen().

Reviewed-by: kvn, neliasso
This commit is contained in:
Christian Hagedorn 2020-07-01 09:18:28 +02:00
parent 46ff8fdce9
commit 83a8c4acc7
4 changed files with 128 additions and 6 deletions

View file

@ -1013,6 +1013,7 @@ void Compile::Init(int aliaslevel) {
register_library_intrinsics();
#ifdef ASSERT
_type_verify_symmetry = true;
_phase_optimize_finished = false;
#endif
}
@ -2249,6 +2250,7 @@ void Compile::Optimize() {
}
print_method(PHASE_OPTIMIZE_FINISHED, 2);
DEBUG_ONLY(set_phase_optimize_finished();)
}
//---------------------------- Bitwise operation packing optimization ---------------------------