7177003: C1: LogCompilation support

Add LogCompilation support in C1 - both client and tiered mode.

Reviewed-by: twisti, kvn
This commit is contained in:
Vladimir Ivanov 2012-10-05 18:57:10 -07:00
parent 9e9db7f831
commit 822deb6ee6
18 changed files with 170 additions and 19 deletions

View file

@ -1570,7 +1570,8 @@ void CompileBroker::compiler_thread_loop() {
}
CompileLog* log = thread->log();
if (log != NULL) {
log->begin_elem("start_compile_thread thread='" UINTX_FORMAT "' process='%d'",
log->begin_elem("start_compile_thread name='%s' thread='" UINTX_FORMAT "' process='%d'",
thread->name(),
os::current_thread_id(),
os::current_process_id());
log->stamp();