< prev index next >

src/share/vm/utilities/vmError.cpp

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

*** 230,239 **** --- 230,246 ---- st->print_cr("Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)"); int count = 0; while (count++ < StackPrintLimit) { fr.print_on_error(st, buf, buf_size); + if (fr.pc()) { // print source file and line, if available + char buf[128]; + int line_no; + if (Decoder::get_source_info(fr.pc(), buf, sizeof(buf), &line_no)) { + st->print(" (%s:%d)", buf, line_no); + } + } st->cr(); // Compiled code may use EBP register on x86 so it looks like // non-walkable C frame. Use frame.sender() for java frames. if (t && t->is_Java_thread()) { // Catch very first native frame by using stack address.
< prev index next >