hotspot/src/share/vm/compiler/compileBroker.cpp
changeset 11788 bef6166c683c
parent 11639 ff8cfc20d5cb
child 13195 be27e1b6a4b9
equal deleted inserted replaced
11787:cfb5950b7706 11788:bef6166c683c
   202     task->print_compilation(&msg, true);
   202     task->print_compilation(&msg, true);
   203     log(thread, "%s", (const char*)lm);
   203     log(thread, "%s", (const char*)lm);
   204   }
   204   }
   205 
   205 
   206   void log_nmethod(JavaThread* thread, nmethod* nm) {
   206   void log_nmethod(JavaThread* thread, nmethod* nm) {
   207     log(thread, "nmethod " INTPTR_FORMAT " code ["INTPTR_FORMAT ", " INTPTR_FORMAT "]",
   207     log(thread, "nmethod %d%s " INTPTR_FORMAT " code ["INTPTR_FORMAT ", " INTPTR_FORMAT "]",
       
   208         nm->compile_id(), nm->is_osr_method() ? "%" : "",
   208         nm, nm->code_begin(), nm->code_end());
   209         nm, nm->code_begin(), nm->code_end());
   209   }
   210   }
   210 
   211 
   211   void log_failure(JavaThread* thread, CompileTask* task, const char* reason, const char* retry_message) {
   212   void log_failure(JavaThread* thread, CompileTask* task, const char* reason, const char* retry_message) {
   212     StringLogMessage lm;
   213     StringLogMessage lm;