# HG changeset patch # User Bernhard Urban # Date 1395052311 -3600 # Node ID 24cd779e5d94958105b9c8a3457ef041a2243a45 # Parent 2e672570021a64ad39e27cba342a590eac587c4e complevel: use COMPILERGRAAL flag (fixes hosted-mode with ClientVM) diff -r 2e672570021a -r 24cd779e5d94 src/share/vm/utilities/globalDefinitions.hpp --- a/src/share/vm/utilities/globalDefinitions.hpp Mon Mar 17 09:37:41 2014 +0100 +++ b/src/share/vm/utilities/globalDefinitions.hpp Mon Mar 17 11:31:51 2014 +0100 @@ -834,7 +834,7 @@ CompLevel_full_profile = 3, // C1, invocation & backedge counters + mdo CompLevel_full_optimization = 4, // C2, Shark or Graal -#if defined(COMPILER2) || defined(SHARK) || defined(GRAAL) +#if defined(COMPILER2) || defined(SHARK) || defined(COMPILERGRAAL) CompLevel_highest_tier = CompLevel_full_optimization, // pure C2 and tiered or Graal and tiered #elif defined(COMPILER1) CompLevel_highest_tier = CompLevel_simple, // pure C1 or Graal @@ -844,7 +844,7 @@ #if defined(TIERED) CompLevel_initial_compile = CompLevel_full_profile // tiered -#elif defined(COMPILER1) || defined(GRAAL) +#elif defined(COMPILER1) || defined(COMPILERGRAAL) CompLevel_initial_compile = CompLevel_simple // pure C1 or Graal #elif defined(COMPILER2) || defined(SHARK) CompLevel_initial_compile = CompLevel_full_optimization // pure C2