mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
7020403: Add AdvancedCompilationPolicy for tiered
This implements adaptive tiered compilation policy. Reviewed-by: kvn, never
This commit is contained in:
parent
d7802369bc
commit
2114527fec
6 changed files with 696 additions and 3 deletions
|
@ -1026,8 +1026,9 @@ void Arguments::check_compressed_oops_compat() {
|
|||
}
|
||||
|
||||
void Arguments::set_tiered_flags() {
|
||||
// With tiered, set default policy to AdvancedThresholdPolicy, which is 3.
|
||||
if (FLAG_IS_DEFAULT(CompilationPolicyChoice)) {
|
||||
FLAG_SET_DEFAULT(CompilationPolicyChoice, 2);
|
||||
FLAG_SET_DEFAULT(CompilationPolicyChoice, 3);
|
||||
}
|
||||
if (CompilationPolicyChoice < 2) {
|
||||
vm_exit_during_initialization(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue