equal
deleted
inserted
replaced
625 st->print(" [%s+0x%x]", p1, offset); |
625 st->print(" [%s+0x%x]", p1, offset); |
626 } else { |
626 } else { |
627 st->print(" " PTR_FORMAT, p2i(pc)); |
627 st->print(" " PTR_FORMAT, p2i(pc)); |
628 } |
628 } |
629 |
629 |
630 // function name - os::dll_address_to_function_name() may return confusing |
630 found = os::dll_address_to_function_name(pc, buf, buflen, &offset); |
631 // names if pc is within jvm.dll or libjvm.so, because JVM only has |
631 if (found) { |
632 // JVM_xxxx and a few other symbols in the dynamic symbol table. Do this |
632 st->print(" %s+0x%x", buf, offset); |
633 // only for native libraries. |
|
634 if (!in_vm || Decoder::can_decode_C_frame_in_vm()) { |
|
635 found = os::dll_address_to_function_name(pc, buf, buflen, &offset); |
|
636 |
|
637 if (found) { |
|
638 st->print(" %s+0x%x", buf, offset); |
|
639 } |
|
640 } |
633 } |
641 } |
634 } |
642 |
635 |
643 // frame::print_on_error() is called by fatal error handler. Notice that we may |
636 // frame::print_on_error() is called by fatal error handler. Notice that we may |
644 // crash inside this function if stack frame is corrupted. The fatal error |
637 // crash inside this function if stack frame is corrupted. The fatal error |