src/share/vm/compiler/compileBroker.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/compiler/compileBroker.hpp Wed Sep 16 15:18:27 2015
--- new/src/share/vm/compiler/compileBroker.hpp Wed Sep 16 15:18:27 2015
*** 26,35 ****
--- 26,36 ----
#define SHARE_VM_COMPILER_COMPILEBROKER_HPP
#include "ci/compilerInterface.hpp"
#include "compiler/abstractCompiler.hpp"
#include "runtime/perfData.hpp"
+ #include "trace/tracing.hpp"
class nmethod;
class nmethodLocker;
// CompileTask
*** 138,147 ****
--- 139,149 ----
void print_tty();
void print_line_on_error(outputStream* st, char* buf, int buflen);
void log_task(xmlStream* log);
void log_task_queued();
+ void log_task_dequeued(const char* comment);
void log_task_start(CompileLog* log);
void log_task_done(CompileLog* log);
void set_failure_reason(const char* reason) {
_failure_reason = reason;
*** 356,365 ****
--- 358,368 ----
const char* comment,
bool blocking);
static void wait_for_completion(CompileTask* task);
static void invoke_compiler_on_method(CompileTask* task);
+ static void post_compile(CompilerThread* thread, CompileTask* task, EventCompilation& event, bool success, ciEnv* ci_env);
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();
static bool check_break_at(methodHandle method, int compile_id, bool is_osr);
static void collect_statistics(CompilerThread* thread, elapsedTimer time, CompileTask* task);
*** 401,410 ****
--- 404,416 ----
int comp_level,
methodHandle hot_method,
int hot_count,
const char* comment, Thread* thread);
+ // Acquire any needed locks and assign a compile id
+ static uint assign_compile_id_unlocked(Thread* thread, methodHandle method, int osr_bci);
+
static void compiler_thread_loop();
static uint get_compilation_id() { return _compilation_id; }
// Set _should_block.
// Call this from the VM, with Threads_lock held and a safepoint requested.
*** 449,460 ****
--- 455,471 ----
}
// Redefine Classes support
static void mark_on_stack();
+ #if INCLUDE_JVMCI
+ // Print curent compilation time stats for a given compiler
+ static void print_times(AbstractCompiler* comp);
+ #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();
static void print_compiler_threads_on(outputStream* st);
src/share/vm/compiler/compileBroker.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File