Lines Matching refs:log

206     log(thread, "%s", (const char*)lm);
210 log(thread, "nmethod %d%s " INTPTR_FORMAT " code ["INTPTR_FORMAT ", " INTPTR_FORMAT "]",
222 log(thread, "%s", (const char*)lm);
237 CompileLog* log = thread->log();
238 if (log != NULL) task->log_task_start(log);
244 CompileLog* log = thread->log();
245 if (log != NULL) task->log_task_done(log);
498 void CompileTask::log_task(xmlStream* log) {
505 log->print(" compile_id='%d'", _compile_id);
507 log->print(" compile_kind='osr'"); // same as nmethod::compile_kind
509 if (!method.is_null()) log->method(method);
511 log->print(" osr_bci='%d'", _osr_bci);
514 log->print(" level='%d'", _comp_level);
517 log->print(" blocking='1'");
519 log->stamp();
553 void CompileTask::log_task_start(CompileLog* log) {
554 log->begin_head("task");
555 log_task(log);
556 log->end_head();
562 void CompileTask::log_task_done(CompileLog* log) {
570 log->begin_elem("task_done success='%d' nmsize='%d' count='%d'",
574 if (bec != 0) log->print(" backedge_count='%d'", bec);
577 log->print(" inlined_bytes='%d'", _num_inlined_bytecodes);
579 log->stamp();
580 log->end_elem();
581 log->tail("task");
582 log->clear_identities(); // next task will have different CI
583 if (log->unflushed_count() > 2000) {
584 log->flush();
586 log->mark_file_end();
1547 // Open a log.
1551 CompileLog* log = thread->log();
1552 if (log != NULL) {
1553 log->begin_elem("start_compile_thread name='%s' thread='" UINTX_FORMAT "' process='%d'",
1557 log->stamp();
1558 log->end_elem();
1637 jio_snprintf(fileBuf, sizeof(fileBuf), "hs_c" UINTX_FORMAT "_pid%u.log",
1641 "%s%shs_c" UINTX_FORMAT "_pid%u.log", dir,
1652 warning("Cannot open log file: %s", fileBuf);
1655 tty->print_cr("Opening compilation log %s", file);
1656 CompileLog* log = new(ResourceObj::C_HEAP, mtCompiler) CompileLog(file, fp, thread_id);
1657 thread->init_log(log);
1662 // Record any per thread log files
1721 bool should_log = (thread->log() != NULL);
1761 ci_env.set_log(thread->log());