Mercurial > hg > truffle
diff src/share/vm/runtime/frame.cpp @ 12199:38f750491293
8022335: Native stack walk while generating hs_err does not work on Windows x64
Summary: Use WinDbg API StackWalk64()
Reviewed-by: zgu, dholmes
author | iklam |
---|---|
date | Fri, 06 Sep 2013 08:42:42 -0700 |
parents | 4b2838704fd5 |
children | 190899198332 |
line wrap: on
line diff
--- a/src/share/vm/runtime/frame.cpp Wed Sep 04 08:55:08 2013 -0400 +++ b/src/share/vm/runtime/frame.cpp Fri Sep 06 08:42:42 2013 -0700 @@ -652,7 +652,7 @@ // Return whether the frame is in the VM or os indicating a Hotspot problem. // Otherwise, it's likely a bug in the native library that the Java code calls, // hopefully indicating where to submit bugs. -static void print_C_frame(outputStream* st, char* buf, int buflen, address pc) { +void frame::print_C_frame(outputStream* st, char* buf, int buflen, address pc) { // C/C++ frame bool in_vm = os::address_is_in_vm(pc); st->print(in_vm ? "V" : "C");