src/hotspot/share/runtime/frame.cpp
changeset 47666 19219ec3f176
parent 47216 71c04702a3d5
child 47687 fb290fd1f9d4
--- 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);
   }
 }