mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
7032458: Zero and Shark fixes
Reviewed-by: twisti
This commit is contained in:
parent
f94d7776ca
commit
80dfa0e342
10 changed files with 30 additions and 19 deletions
|
@ -746,9 +746,9 @@ enum CompLevel {
|
|||
CompLevel_simple = 1, // C1
|
||||
CompLevel_limited_profile = 2, // C1, invocation & backedge counters
|
||||
CompLevel_full_profile = 3, // C1, invocation & backedge counters + mdo
|
||||
CompLevel_full_optimization = 4, // C2
|
||||
CompLevel_full_optimization = 4, // C2 or Shark
|
||||
|
||||
#if defined(COMPILER2)
|
||||
#if defined(COMPILER2) || defined(SHARK)
|
||||
CompLevel_highest_tier = CompLevel_full_optimization, // pure C2 and tiered
|
||||
#elif defined(COMPILER1)
|
||||
CompLevel_highest_tier = CompLevel_simple, // pure C1
|
||||
|
@ -760,7 +760,7 @@ enum CompLevel {
|
|||
CompLevel_initial_compile = CompLevel_full_profile // tiered
|
||||
#elif defined(COMPILER1)
|
||||
CompLevel_initial_compile = CompLevel_simple // pure C1
|
||||
#elif defined(COMPILER2)
|
||||
#elif defined(COMPILER2) || defined(SHARK)
|
||||
CompLevel_initial_compile = CompLevel_full_optimization // pure C2
|
||||
#else
|
||||
CompLevel_initial_compile = CompLevel_none
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue