mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8253923
: C2 doesn't always run loop opts for compilations that include loops
Reviewed-by: neliasso, thartmann
This commit is contained in:
parent
dfe8ba6099
commit
a6c23b7753
9 changed files with 79 additions and 6 deletions
|
@ -922,7 +922,7 @@ void Compile::Init(int aliaslevel) {
|
|||
|
||||
_fixed_slots = 0;
|
||||
set_has_split_ifs(false);
|
||||
set_has_loops(has_method() && method()->has_loops()); // first approximation
|
||||
set_has_loops(false); // first approximation
|
||||
set_has_stringbuilder(false);
|
||||
set_has_boxed_value(false);
|
||||
_trap_can_recompile = false; // no traps emitted yet
|
||||
|
@ -1022,6 +1022,7 @@ void Compile::Init(int aliaslevel) {
|
|||
#ifdef ASSERT
|
||||
_type_verify_symmetry = true;
|
||||
_phase_optimize_finished = false;
|
||||
_exception_backedge = false;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue