< prev index next >
src/hotspot/share/compiler/compilerDefinitions.hpp
Print this page
rev 54763 : 8213084: Rework and enhance Print[Opto]Assembly output
Reviewed-by:
@@ -95,10 +95,14 @@
inline bool is_compile(int comp_level) {
return is_c1_compile(comp_level) || is_c2_compile(comp_level);
}
+inline char tier_digit(int comp_level) {
+ return (char)(comp_level + (int)'0');
+}
+
// States of Restricted Transactional Memory usage.
enum RTMState {
NoRTM = 0x2, // Don't use RTM
UseRTM = 0x1, // Use RTM
ProfileRTM = 0x0 // Use RTM with abort ratio calculation
< prev index next >