Mercurial > hg > graal-compiler
diff src/share/vm/utilities/globalDefinitions.hpp @ 2447:e863062e521d
7032458: Zero and Shark fixes
Reviewed-by: twisti
Contributed-by: Gary Benson <gbenson@redhat.com>
author | twisti |
---|---|
date | Mon, 04 Apr 2011 03:02:00 -0700 |
parents | 1216415d8e35 |
children | 0654ee04b214 f08d439fab8c |
line wrap: on
line diff
--- a/src/share/vm/utilities/globalDefinitions.hpp Sun Apr 03 12:00:54 2011 +0200 +++ b/src/share/vm/utilities/globalDefinitions.hpp Mon Apr 04 03:02:00 2011 -0700 @@ -746,9 +746,9 @@ 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 @@ 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