201 task->print_compilation(&sstr, NULL, true); |
201 task->print_compilation(&sstr, NULL, true); |
202 log(thread, "%s", (const char*)lm); |
202 log(thread, "%s", (const char*)lm); |
203 } |
203 } |
204 |
204 |
205 void log_nmethod(JavaThread* thread, nmethod* nm) { |
205 void log_nmethod(JavaThread* thread, nmethod* nm) { |
206 log(thread, "nmethod %d%s " INTPTR_FORMAT " code ["INTPTR_FORMAT ", " INTPTR_FORMAT "]", |
206 log(thread, "nmethod %d%s " INTPTR_FORMAT " code [" INTPTR_FORMAT ", " INTPTR_FORMAT "]", |
207 nm->compile_id(), nm->is_osr_method() ? "%" : "", |
207 nm->compile_id(), nm->is_osr_method() ? "%" : "", |
208 p2i(nm), p2i(nm->code_begin()), p2i(nm->code_end())); |
208 p2i(nm), p2i(nm->code_begin()), p2i(nm->code_end())); |
209 } |
209 } |
210 |
210 |
211 void log_failure(JavaThread* thread, CompileTask* task, const char* reason, const char* retry_message) { |
211 void log_failure(JavaThread* thread, CompileTask* task, const char* reason, const char* retry_message) { |