mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-17 14:38:55 +00:00
8386852: Lower peak throughput with AOTCache
Reviewed-by: kvn, iveresov, shade
This commit is contained in:
parent
41c33dafd5
commit
ce93858acd
@ -1377,7 +1377,7 @@ CompLevel CompilationPolicy::transition_from_limited_profile(const methodHandle&
|
||||
// Determine if a method should be compiled with a normal entry point at a different level.
|
||||
CompLevel CompilationPolicy::call_event(const methodHandle& method, CompLevel cur_level, JavaThread* THREAD) {
|
||||
CompLevel osr_level = MIN2((CompLevel) method->highest_osr_comp_level(), common<LoopPredicate>(method, cur_level, THREAD, true));
|
||||
CompLevel next_level = common<CallPredicate>(method, cur_level, THREAD, !TrainingData::have_data() && is_old(method));
|
||||
CompLevel next_level = common<CallPredicate>(method, cur_level, THREAD, is_old(method));
|
||||
|
||||
// If OSR method level is greater than the regular method level, the levels should be
|
||||
// equalized by raising the regular method level in order to avoid OSRs during each
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user