hotspot/src/share/vm/runtime/frame.cpp
changeset 7447 32c42d627f41
parent 7397 5b173b4ca846
child 7448 11b630d174d5
--- a/hotspot/src/share/vm/runtime/frame.cpp	Tue Nov 23 13:22:55 2010 -0800
+++ b/hotspot/src/share/vm/runtime/frame.cpp	Sat Dec 11 13:20:56 2010 -0500
@@ -41,6 +41,8 @@
 #include "runtime/signature.hpp"
 #include "runtime/stubCodeGenerator.hpp"
 #include "runtime/stubRoutines.hpp"
+#include "utilities/decoder.hpp"
+
 #ifdef TARGET_ARCH_x86
 # include "nativeInst_x86.hpp"
 #endif
@@ -652,7 +654,7 @@
   // 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) {
+  if (!in_vm || Decoder::can_decode_C_frame_in_vm()) {
     found = os::dll_address_to_function_name(pc, buf, buflen, &offset);
 
     if (found) {