mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
7121111: -server -Xcomp -XX:+TieredCompilation does not invoke C2 compiler
Exercise C2 more in tiered mode with Xcomp Reviewed-by: kvn, never
This commit is contained in:
parent
ebdae40c34
commit
11dbaed93f
1 changed files with 7 additions and 0 deletions
|
@ -1000,6 +1000,13 @@ void Arguments::set_mode_flags(Mode mode) {
|
|||
UseInterpreter = false;
|
||||
BackgroundCompilation = false;
|
||||
ClipInlining = false;
|
||||
// Be much more aggressive in tiered mode with -Xcomp and exercise C2 more.
|
||||
// We will first compile a level 3 version (C1 with full profiling), then do one invocation of it and
|
||||
// compile a level 4 (C2) and then continue executing it.
|
||||
if (TieredCompilation) {
|
||||
Tier3InvokeNotifyFreqLog = 0;
|
||||
Tier4InvocationThreshold = 0;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue