< prev index next >

src/hotspot/share/compiler/compileBroker.hpp

Print this page

229 
230   // Timers and counters for generating statistics
231   static elapsedTimer _t_total_compilation;
232   static elapsedTimer _t_osr_compilation;
233   static elapsedTimer _t_standard_compilation;
234   static elapsedTimer _t_invalidated_compilation;
235   static elapsedTimer _t_bailedout_compilation;
236 
237   static uint _total_compile_count;
238   static uint _total_bailout_count;
239   static uint _total_invalidated_count;
240   static uint _total_native_compile_count;
241   static uint _total_osr_compile_count;
242   static uint _total_standard_compile_count;
243   static uint _total_compiler_stopped_count;
244   static uint _total_compiler_restarted_count;
245   static uint _sum_osr_bytes_compiled;
246   static uint _sum_standard_bytes_compiled;
247   static uint _sum_nmethod_size;
248   static uint _sum_nmethod_code_size;

249   static jlong _peak_compilation_time;
250 
251   static CompilerStatistics _stats_per_level[];
252 
253   static volatile int _print_compilation_warning;
254 
255   enum ThreadType {
256     compiler_t,
257     deoptimizer_t,
258     training_replay_t
259   };
260 
261   static JavaThread* make_thread(ThreadType type, jobject thread_oop, CompileQueue* queue, AbstractCompiler* comp, JavaThread* THREAD);
262   static void init_compiler_threads();
263   static void init_training_replay();
264   static void possibly_add_compiler_threads(JavaThread* THREAD);
265   static bool compilation_is_prohibited(const methodHandle& method, int osr_bci, int comp_level, bool excluded);
266 
267   static CompileTask* create_compile_task(CompileQueue*       queue,
268                                           int                 compile_id,

229 
230   // Timers and counters for generating statistics
231   static elapsedTimer _t_total_compilation;
232   static elapsedTimer _t_osr_compilation;
233   static elapsedTimer _t_standard_compilation;
234   static elapsedTimer _t_invalidated_compilation;
235   static elapsedTimer _t_bailedout_compilation;
236 
237   static uint _total_compile_count;
238   static uint _total_bailout_count;
239   static uint _total_invalidated_count;
240   static uint _total_native_compile_count;
241   static uint _total_osr_compile_count;
242   static uint _total_standard_compile_count;
243   static uint _total_compiler_stopped_count;
244   static uint _total_compiler_restarted_count;
245   static uint _sum_osr_bytes_compiled;
246   static uint _sum_standard_bytes_compiled;
247   static uint _sum_nmethod_size;
248   static uint _sum_nmethod_code_size;
249   static uint _largest_nmethod_code_size;
250   static jlong _peak_compilation_time;
251 
252   static CompilerStatistics _stats_per_level[];
253 
254   static volatile int _print_compilation_warning;
255 
256   enum ThreadType {
257     compiler_t,
258     deoptimizer_t,
259     training_replay_t
260   };
261 
262   static JavaThread* make_thread(ThreadType type, jobject thread_oop, CompileQueue* queue, AbstractCompiler* comp, JavaThread* THREAD);
263   static void init_compiler_threads();
264   static void init_training_replay();
265   static void possibly_add_compiler_threads(JavaThread* THREAD);
266   static bool compilation_is_prohibited(const methodHandle& method, int osr_bci, int comp_level, bool excluded);
267 
268   static CompileTask* create_compile_task(CompileQueue*       queue,
269                                           int                 compile_id,
< prev index next >