src/share/vm/runtime/frame.cpp

changeset 2364
2d4762ec74af
parent 2314
f95d63e2154a
child 2365
54f5dd2aa1d9
     1.1 --- a/src/share/vm/runtime/frame.cpp	Tue Nov 23 13:22:55 2010 -0800
     1.2 +++ b/src/share/vm/runtime/frame.cpp	Sat Dec 11 13:20:56 2010 -0500
     1.3 @@ -41,6 +41,8 @@
     1.4  #include "runtime/signature.hpp"
     1.5  #include "runtime/stubCodeGenerator.hpp"
     1.6  #include "runtime/stubRoutines.hpp"
     1.7 +#include "utilities/decoder.hpp"
     1.8 +
     1.9  #ifdef TARGET_ARCH_x86
    1.10  # include "nativeInst_x86.hpp"
    1.11  #endif
    1.12 @@ -652,7 +654,7 @@
    1.13    // names if pc is within jvm.dll or libjvm.so, because JVM only has
    1.14    // JVM_xxxx and a few other symbols in the dynamic symbol table. Do this
    1.15    // only for native libraries.
    1.16 -  if (!in_vm) {
    1.17 +  if (!in_vm || Decoder::can_decode_C_frame_in_vm()) {
    1.18      found = os::dll_address_to_function_name(pc, buf, buflen, &offset);
    1.19  
    1.20      if (found) {

mercurial