comparison src/share/vm/compiler/abstractCompiler.hpp @ 22299:c28cb37b2e1d

Rename JVMCI to INCLUDE_JVMCI.
author twisti
date Wed, 22 Jul 2015 08:56:03 -0700
parents be896a1983c0
children
comparison
equal deleted inserted replaced
22298:571202729bbf 22299:c28cb37b2e1d
27 27
28 #include "ci/compilerInterface.hpp" 28 #include "ci/compilerInterface.hpp"
29 29
30 typedef void (*initializer)(void); 30 typedef void (*initializer)(void);
31 31
32 #ifdef JVMCI 32 #if INCLUDE_JVMCI
33 // Per-compiler statistics 33 // Per-compiler statistics
34 class CompilerStatistics VALUE_OBJ_CLASS_SPEC { 34 class CompilerStatistics VALUE_OBJ_CLASS_SPEC {
35 friend class VMStructs; 35 friend class VMStructs;
36 36
37 class Data VALUE_OBJ_CLASS_SPEC { 37 class Data VALUE_OBJ_CLASS_SPEC {
87 enum Type { c1, c2, shark, jvmci }; 87 enum Type { c1, c2, shark, jvmci };
88 88
89 private: 89 private:
90 Type _type; 90 Type _type;
91 91
92 #ifdef JVMCI 92 #if INCLUDE_JVMCI
93 CompilerStatistics _stats; 93 CompilerStatistics _stats;
94 #endif 94 #endif
95 95
96 public: 96 public:
97 AbstractCompiler(Type type) : _type(type), _compiler_state(uninitialized), _num_compiler_threads(0) {} 97 AbstractCompiler(Type type) : _type(type), _compiler_state(uninitialized), _num_compiler_threads(0) {}
134 // Print compilation timers and statistics 134 // Print compilation timers and statistics
135 virtual void print_timers() { 135 virtual void print_timers() {
136 ShouldNotReachHere(); 136 ShouldNotReachHere();
137 } 137 }
138 138
139 #ifdef JVMCI 139 #if INCLUDE_JVMCI
140 CompilerStatistics* stats() { return &_stats; } 140 CompilerStatistics* stats() { return &_stats; }
141 #endif 141 #endif
142 }; 142 };
143 143
144 #endif // SHARE_VM_COMPILER_ABSTRACTCOMPILER_HPP 144 #endif // SHARE_VM_COMPILER_ABSTRACTCOMPILER_HPP