< prev index next >

src/share/vm/runtime/frame.cpp

Print this page
rev 13549 : 8185712: [windows] Improve native symbol decoder
Reviewed-by: goetz, zgu

*** 625,645 **** st->print(" [%s+0x%x]", p1, offset); } else { st->print(" " PTR_FORMAT, p2i(pc)); } - // function name - os::dll_address_to_function_name() may return confusing - // names if pc is within jvm.dll or libjvm.so, because JVM only has - // JVM_xxxx and a few other symbols in the dynamic symbol table. Do this - // only for native libraries. - if (!in_vm || Decoder::can_decode_C_frame_in_vm()) { found = os::dll_address_to_function_name(pc, buf, buflen, &offset); - if (found) { st->print(" %s+0x%x", buf, offset); } - } } // frame::print_on_error() is called by fatal error handler. Notice that we may // crash inside this function if stack frame is corrupted. The fatal error // handler can catch and handle the crash. Here we assume the frame is valid. --- 625,638 ----
< prev index next >