--- a/src/hotspot/share/runtime/frame.cpp Thu Oct 19 14:36:40 2017 +0200
+++ b/src/hotspot/share/runtime/frame.cpp Wed Sep 20 15:12:11 2017 +0200
@@ -627,16 +627,9 @@
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);
- }
+ found = os::dll_address_to_function_name(pc, buf, buflen, &offset);
+ if (found) {
+ st->print(" %s+0x%x", buf, offset);
}
}