Skip to content

Commit

Permalink
8251462: No native wrappers generated anymore with -XX:-TieredCompila…
Browse files Browse the repository at this point in the history
…tion after JDK-8251462
  • Loading branch information
simonis committed Mar 26, 2024
1 parent 89e0889 commit 7eb0d11
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/hotspot/share/compiler/compilationPolicy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1090,6 +1090,10 @@ CompLevel CompilationPolicy::common(const methodHandle& method, CompLevel cur_le
} else {
next_level = CompLevel_full_optimization;
}
} else if (method->is_native() && CompilationModeFlag::disable_intermediate()) {
if (Predicate::apply(method, cur_level, method->invocation_count(), 0)) {
next_level = CompLevel_full_optimization;
}
}
}
break;
Expand Down

0 comments on commit 7eb0d11

Please sign in to comment.