< prev index next >

src/hotspot/share/compiler/compilationLog.cpp

Print this page
@@ -42,12 +42,12 @@
    task->print(&sstr, nullptr, true, false);
    log(thread, "%s", (const char*)lm);
  }
  
  void CompilationLog::log_nmethod(JavaThread* thread, nmethod* nm) {
-   log(thread, "nmethod %d%s " INTPTR_FORMAT " code [" INTPTR_FORMAT ", " INTPTR_FORMAT "]",
-       nm->compile_id(), nm->is_osr_method() ? "%" : "",
+   log(thread, "nmethod %d %s " INTPTR_FORMAT " code [" INTPTR_FORMAT ", " INTPTR_FORMAT "]",
+       nm->compile_id(), nm->compile_kind(),
        p2i(nm), p2i(nm->code_begin()), p2i(nm->code_end()));
  }
  
  void CompilationLog::log_failure(JavaThread* thread, CompileTask* task, const char* reason, const char* retry_message) {
    StringLogMessage lm;
< prev index next >