src/hotspot/share/compiler/compileBroker.hpp
changeset 54736 1dc9bf9d016b
parent 54482 c914170817d4
child 55294 3493c1bc59fd
equal deleted inserted replaced
54735:a9f729b641a3 54736:1dc9bf9d016b
   227 
   227 
   228   static Handle create_thread_oop(const char* name, TRAPS);
   228   static Handle create_thread_oop(const char* name, TRAPS);
   229   static JavaThread* make_thread(jobject thread_oop, CompileQueue* queue, AbstractCompiler* comp, TRAPS);
   229   static JavaThread* make_thread(jobject thread_oop, CompileQueue* queue, AbstractCompiler* comp, TRAPS);
   230   static void init_compiler_sweeper_threads();
   230   static void init_compiler_sweeper_threads();
   231   static void possibly_add_compiler_threads();
   231   static void possibly_add_compiler_threads();
   232   static bool compilation_is_complete  (const methodHandle& method, int osr_bci, int comp_level);
       
   233   static bool compilation_is_prohibited(const methodHandle& method, int osr_bci, int comp_level, bool excluded);
   232   static bool compilation_is_prohibited(const methodHandle& method, int osr_bci, int comp_level, bool excluded);
   234   static void preload_classes          (const methodHandle& method, TRAPS);
   233   static void preload_classes          (const methodHandle& method, TRAPS);
   235 
   234 
   236   static CompileTask* create_compile_task(CompileQueue*       queue,
   235   static CompileTask* create_compile_task(CompileQueue*       queue,
   237                                           int                 compile_id,
   236                                           int                 compile_id,
   283     if (is_c2_compile(comp_level)) return _compilers[1]; // C2
   282     if (is_c2_compile(comp_level)) return _compilers[1]; // C2
   284     if (is_c1_compile(comp_level)) return _compilers[0]; // C1
   283     if (is_c1_compile(comp_level)) return _compilers[0]; // C1
   285     return NULL;
   284     return NULL;
   286   }
   285   }
   287 
   286 
       
   287   static bool compilation_is_complete(const methodHandle& method, int osr_bci, int comp_level);
   288   static bool compilation_is_in_queue(const methodHandle& method);
   288   static bool compilation_is_in_queue(const methodHandle& method);
   289   static void print_compile_queues(outputStream* st);
   289   static void print_compile_queues(outputStream* st);
   290   static void print_directives(outputStream* st);
   290   static void print_directives(outputStream* st);
   291   static int queue_size(int comp_level) {
   291   static int queue_size(int comp_level) {
   292     CompileQueue *q = compile_queue(comp_level);
   292     CompileQueue *q = compile_queue(comp_level);