1.1 --- a/src/share/vm/utilities/decoder.hpp Thu Jul 19 06:24:46 2012 -0700 1.2 +++ b/src/share/vm/utilities/decoder.hpp Mon Jul 30 10:25:52 2012 -0400 1.3 @@ -47,6 +47,8 @@ 1.4 // the function 1.5 virtual bool decode(address pc, char* buf, int buflen, int* offset, 1.6 const char* modulepath = NULL) = 0; 1.7 + virtual bool decode(address pc, char* buf, int buflen, int* offset, const void* base) = 0; 1.8 + 1.9 // demangle a C++ symbol 1.10 virtual bool demangle(const char* symbol, char* buf, int buflen) = 0; 1.11 // if the decoder can decode symbols in vm 1.12 @@ -82,6 +84,10 @@ 1.13 return false; 1.14 } 1.15 1.16 + virtual bool decode(address pc, char* buf, int buflen, int* offset, const void* base) { 1.17 + return false; 1.18 + } 1.19 + 1.20 virtual bool demangle(const char* symbol, char* buf, int buflen) { 1.21 return false; 1.22 } 1.23 @@ -95,6 +101,7 @@ 1.24 class Decoder : AllStatic { 1.25 public: 1.26 static bool decode(address pc, char* buf, int buflen, int* offset, const char* modulepath = NULL); 1.27 + static bool decode(address pc, char* buf, int buflen, int* offset, const void* base); 1.28 static bool demangle(const char* symbol, char* buf, int buflen); 1.29 static bool can_decode_C_frame_in_vm(); 1.30