Mercurial > hg > truffle
comparison src/share/vm/utilities/globalDefinitions.hpp @ 14556:24cd779e5d94
complevel: use COMPILERGRAAL flag (fixes hosted-mode with ClientVM)
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Mon, 17 Mar 2014 11:31:51 +0100 |
parents | d8041d695d19 |
children | 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
14555:2e672570021a | 14556:24cd779e5d94 |
---|---|
832 CompLevel_simple = 1, // C1 | 832 CompLevel_simple = 1, // C1 |
833 CompLevel_limited_profile = 2, // C1, invocation & backedge counters | 833 CompLevel_limited_profile = 2, // C1, invocation & backedge counters |
834 CompLevel_full_profile = 3, // C1, invocation & backedge counters + mdo | 834 CompLevel_full_profile = 3, // C1, invocation & backedge counters + mdo |
835 CompLevel_full_optimization = 4, // C2, Shark or Graal | 835 CompLevel_full_optimization = 4, // C2, Shark or Graal |
836 | 836 |
837 #if defined(COMPILER2) || defined(SHARK) || defined(GRAAL) | 837 #if defined(COMPILER2) || defined(SHARK) || defined(COMPILERGRAAL) |
838 CompLevel_highest_tier = CompLevel_full_optimization, // pure C2 and tiered or Graal and tiered | 838 CompLevel_highest_tier = CompLevel_full_optimization, // pure C2 and tiered or Graal and tiered |
839 #elif defined(COMPILER1) | 839 #elif defined(COMPILER1) |
840 CompLevel_highest_tier = CompLevel_simple, // pure C1 or Graal | 840 CompLevel_highest_tier = CompLevel_simple, // pure C1 or Graal |
841 #else | 841 #else |
842 CompLevel_highest_tier = CompLevel_none, | 842 CompLevel_highest_tier = CompLevel_none, |
843 #endif | 843 #endif |
844 | 844 |
845 #if defined(TIERED) | 845 #if defined(TIERED) |
846 CompLevel_initial_compile = CompLevel_full_profile // tiered | 846 CompLevel_initial_compile = CompLevel_full_profile // tiered |
847 #elif defined(COMPILER1) || defined(GRAAL) | 847 #elif defined(COMPILER1) || defined(COMPILERGRAAL) |
848 CompLevel_initial_compile = CompLevel_simple // pure C1 or Graal | 848 CompLevel_initial_compile = CompLevel_simple // pure C1 or Graal |
849 #elif defined(COMPILER2) || defined(SHARK) | 849 #elif defined(COMPILER2) || defined(SHARK) |
850 CompLevel_initial_compile = CompLevel_full_optimization // pure C2 | 850 CompLevel_initial_compile = CompLevel_full_optimization // pure C2 |
851 #else | 851 #else |
852 CompLevel_initial_compile = CompLevel_none | 852 CompLevel_initial_compile = CompLevel_none |