--- a/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp Fri Feb 01 14:24:40 2019 +0000
+++ b/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp Fri Feb 01 16:03:15 2019 +0100
@@ -755,8 +755,8 @@
// point to garbage if entry point in an nmethod is corrupted. Leave
// this at the end, and hope for the best.
address pc = os::Linux::ucontext_get_pc(uc);
- st->print_cr("Instructions: (pc=" PTR_FORMAT ")", p2i(pc));
- print_hex_dump(st, pc - 32, pc + 32, sizeof(char));
+ print_instructions(st, pc, sizeof(char));
+ st->cr();
}
void os::print_register_info(outputStream *st, const void *context) {