comparison src/share/vm/compiler/compileBroker.cpp @ 6843:c3e799c37717

7177003: C1: LogCompilation support Summary: add LogCompilation support in C1 - both client and tiered mode. Reviewed-by: twisti, kvn
author vlivanov
date Fri, 05 Oct 2012 18:57:10 -0700
parents 9191895df19d
children 18fb7da42534
comparison
equal deleted inserted replaced
6830:81e878c53615 6843:c3e799c37717
1568 if (LogCompilation) { 1568 if (LogCompilation) {
1569 init_compiler_thread_log(); 1569 init_compiler_thread_log();
1570 } 1570 }
1571 CompileLog* log = thread->log(); 1571 CompileLog* log = thread->log();
1572 if (log != NULL) { 1572 if (log != NULL) {
1573 log->begin_elem("start_compile_thread thread='" UINTX_FORMAT "' process='%d'", 1573 log->begin_elem("start_compile_thread name='%s' thread='" UINTX_FORMAT "' process='%d'",
1574 thread->name(),
1574 os::current_thread_id(), 1575 os::current_thread_id(),
1575 os::current_process_id()); 1576 os::current_process_id());
1576 log->stamp(); 1577 log->stamp();
1577 log->end_elem(); 1578 log->end_elem();
1578 } 1579 }