comparison src/share/vm/compiler/compileBroker.cpp @ 4944:09d00c18e323

7145537: minor tweaks to LogEvents Reviewed-by: kvn, twisti
author never
date Wed, 15 Feb 2012 10:12:55 -0800
parents 379b22e03c32
children 33df1aeaebbf d2a62e0f25eb
comparison
equal deleted inserted replaced
4943:80107dc493db 4944:09d00c18e323
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;