Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
2446:13bc79b5c9c8 | 2447:e863062e521d |
---|---|
744 CompLevel_all = -1, | 744 CompLevel_all = -1, |
745 CompLevel_none = 0, // Interpreter | 745 CompLevel_none = 0, // Interpreter |
746 CompLevel_simple = 1, // C1 | 746 CompLevel_simple = 1, // C1 |
747 CompLevel_limited_profile = 2, // C1, invocation & backedge counters | 747 CompLevel_limited_profile = 2, // C1, invocation & backedge counters |
748 CompLevel_full_profile = 3, // C1, invocation & backedge counters + mdo | 748 CompLevel_full_profile = 3, // C1, invocation & backedge counters + mdo |
749 CompLevel_full_optimization = 4, // C2 | 749 CompLevel_full_optimization = 4, // C2 or Shark |
750 | 750 |
751 #if defined(COMPILER2) | 751 #if defined(COMPILER2) || defined(SHARK) |
752 CompLevel_highest_tier = CompLevel_full_optimization, // pure C2 and tiered | 752 CompLevel_highest_tier = CompLevel_full_optimization, // pure C2 and tiered |
753 #elif defined(COMPILER1) | 753 #elif defined(COMPILER1) |
754 CompLevel_highest_tier = CompLevel_simple, // pure C1 | 754 CompLevel_highest_tier = CompLevel_simple, // pure C1 |
755 #else | 755 #else |
756 CompLevel_highest_tier = CompLevel_none, | 756 CompLevel_highest_tier = CompLevel_none, |
758 | 758 |
759 #if defined(TIERED) | 759 #if defined(TIERED) |
760 CompLevel_initial_compile = CompLevel_full_profile // tiered | 760 CompLevel_initial_compile = CompLevel_full_profile // tiered |
761 #elif defined(COMPILER1) | 761 #elif defined(COMPILER1) |
762 CompLevel_initial_compile = CompLevel_simple // pure C1 | 762 CompLevel_initial_compile = CompLevel_simple // pure C1 |
763 #elif defined(COMPILER2) | 763 #elif defined(COMPILER2) || defined(SHARK) |
764 CompLevel_initial_compile = CompLevel_full_optimization // pure C2 | 764 CompLevel_initial_compile = CompLevel_full_optimization // pure C2 |
765 #else | 765 #else |
766 CompLevel_initial_compile = CompLevel_none | 766 CompLevel_initial_compile = CompLevel_none |
767 #endif | 767 #endif |
768 }; | 768 }; |