< prev index next >

src/hotspot/share/compiler/compileBroker.hpp

Print this page

        

*** 171,180 **** --- 171,184 ---- // These counters are used for assigning id's to each compilation static volatile jint _compilation_id; static volatile jint _osr_compilation_id; + static int _last_compile_type; + static int _last_compile_level; + static char _last_method_compiled[name_buffer_length]; + static CompileQueue* _c2_compile_queue; static CompileQueue* _c1_compile_queue; // performance counters static PerfCounter* _perf_total_compilation;
*** 227,236 **** --- 231,241 ---- static Handle create_thread_oop(const char* name, TRAPS); static JavaThread* make_thread(jobject thread_oop, CompileQueue* queue, AbstractCompiler* comp, TRAPS); static void init_compiler_sweeper_threads(); static void possibly_add_compiler_threads(); + static bool compilation_is_complete (const methodHandle& method, int osr_bci, int comp_level); static bool compilation_is_prohibited(const methodHandle& method, int osr_bci, int comp_level, bool excluded); static void preload_classes (const methodHandle& method, TRAPS); static CompileTask* create_compile_task(CompileQueue* queue, int compile_id,
*** 247,258 **** #endif static void invoke_compiler_on_method(CompileTask* task); static void post_compile(CompilerThread* thread, CompileTask* task, bool success, ciEnv* ci_env, int compilable, const char* failure_reason); ! static void update_compile_perf_data(CompilerThread *thread, const methodHandle& method, bool is_osr); ! static void push_jni_handle_block(); static void pop_jni_handle_block(); static void collect_statistics(CompilerThread* thread, elapsedTimer time, CompileTask* task); static void compile_method_base(const methodHandle& method, --- 252,262 ---- #endif static void invoke_compiler_on_method(CompileTask* task); static void post_compile(CompilerThread* thread, CompileTask* task, bool success, ciEnv* ci_env, int compilable, const char* failure_reason); ! static void set_last_compile(CompilerThread *thread, const methodHandle& method, bool is_osr, int comp_level); static void push_jni_handle_block(); static void pop_jni_handle_block(); static void collect_statistics(CompilerThread* thread, elapsedTimer time, CompileTask* task); static void compile_method_base(const methodHandle& method,
*** 282,292 **** if (is_c2_compile(comp_level)) return _compilers[1]; // C2 if (is_c1_compile(comp_level)) return _compilers[0]; // C1 return NULL; } - static bool compilation_is_complete(const methodHandle& method, int osr_bci, int comp_level); static bool compilation_is_in_queue(const methodHandle& method); static void print_compile_queues(outputStream* st); static void print_directives(outputStream* st); static int queue_size(int comp_level) { CompileQueue *q = compile_queue(comp_level); --- 286,295 ----
*** 377,386 **** --- 380,392 ---- #endif // Print a detailed accounting of compilation time static void print_times(bool per_compiler = true, bool aggregate = true); + // Debugging output for failure + static void print_last_compile(); + // compiler name for debugging static const char* compiler_name(int comp_level); // Provide access to compiler thread Java objects static jobject compiler1_object(int idx) {
< prev index next >