compileBroker.hpp revision 4141
0N/A * or visit www.oracle.com if you need additional information or have any
0N/A#include "ci/compilerInterface.hpp"
0N/A#include "compiler/abstractCompiler.hpp"
0N/A#include "runtime/perfData.hpp"
0N/Aclass nmethodLocker;
0N/A bool _is_complete;
0N/A bool _is_success;
0N/A bool _is_blocking;
0N/A int _comp_level;
0N/A CompileTask() {
0N/A bool is_blocking);
0N/A static void print_compilation_impl(outputStream* st, methodOop method, int compile_id, int comp_level,
0N/A void print_compilation(outputStream* st = tty, const char* msg = NULL, bool short_form = false);
0N/A static void print_compilation(outputStream* st, const nmethod* nm, const char* msg = NULL, bool short_form = false) {
static void print_inlining(outputStream* st, ciMethod* method, int inline_level, int bci, const char* msg = NULL);
void print();
void print_line();
void log_task_queued();
int _compile_type;
const char* _name;
int _size;
_size = 0;
void print();
friend class Threads;
friend class CompileTaskWrapper;
static bool _initialized;
static volatile bool _should_block;
static int _last_compile_type;
static int _last_compile_level;
static int _total_compile_count;
static int _total_bailout_count;
static int _total_invalidated_count;
static int _total_native_compile_count;
static int _total_osr_compile_count;
static int _total_standard_compile_count;
static int _sum_osr_bytes_compiled;
static int _sum_standard_bytes_compiled;
static int _sum_nmethod_size;
static int _sum_nmethod_code_size;
static long _peak_compilation_time;
static CompilerThread* make_compiler_thread(const char* name, CompileQueue* queue, CompilerCounters* counters, TRAPS);
int compile_id,
int osr_bci,
int comp_level,
int hot_count,
const char* comment,
bool blocking);
static void set_last_compile(CompilerThread *thread, methodHandle method, bool is_osr, int comp_level);
static void push_jni_handle_block();
static void pop_jni_handle_block();
int osr_bci,
int comp_level,
int hot_count,
const char* comment,
return NULL;
return NULL;
static void compilation_init();
static void init_compiler_thread_log();
int osr_bci,
int comp_level,
int hot_count,
static void compiler_thread_loop();
static bool is_idle();
static void set_should_block();
static void maybe_block();
stop_compilation = 0,
static bool should_compile_new_jobs() { return UseCompiler && (_should_compile_new_jobs == run_compilation); }
static void handle_full_code_cache();
static void print_times();
static void print_last_compile();