comparison src/os_cpu/linux_x86/vm/os_linux_x86.cpp @ 1942:00bc9eaf0e24

Support for -XX:+UseFastLocking flag. Fixed monitor enter XIR template for correct debug info at the runtime call.
author Thomas Wuerthinger <wuerthinger@ssw.jku.at>
date Wed, 29 Dec 2010 20:06:41 +0100
parents 8d88c9ac9247
children 06f017f7daa7
comparison
equal deleted inserted replaced
1941:79d04223b8a5 1942:00bc9eaf0e24
258 if (TraceSignals) { 258 if (TraceSignals) {
259 CodeBlob* cb = CodeCache::find_blob(pc); 259 CodeBlob* cb = CodeCache::find_blob(pc);
260 if (cb != NULL && cb->is_nmethod()) { 260 if (cb != NULL && cb->is_nmethod()) {
261 nmethod* nm = (nmethod*)cb; 261 nmethod* nm = (nmethod*)cb;
262 int rel = pc - nm->code_begin(); 262 int rel = pc - nm->code_begin();
263 tty->print_cr("Implicit exception at %d of method %s", rel, nm->method()->name()->as_C_string()); 263 tty->print_cr(err_msg("Implicit exception at %d of method %s", rel, nm->method()->name()->as_C_string()));
264 } else { 264 } else {
265 tty->print_cr("No code blob found for %x", pc); 265 tty->print_cr("No code blob found for %x", pc);
266 } 266 }
267 } 267 }
268 268