Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
12198:baa7927dfbd2 | 12199:38f750491293 |
---|---|
650 } | 650 } |
651 | 651 |
652 // Return whether the frame is in the VM or os indicating a Hotspot problem. | 652 // Return whether the frame is in the VM or os indicating a Hotspot problem. |
653 // Otherwise, it's likely a bug in the native library that the Java code calls, | 653 // Otherwise, it's likely a bug in the native library that the Java code calls, |
654 // hopefully indicating where to submit bugs. | 654 // hopefully indicating where to submit bugs. |
655 static void print_C_frame(outputStream* st, char* buf, int buflen, address pc) { | 655 void frame::print_C_frame(outputStream* st, char* buf, int buflen, address pc) { |
656 // C/C++ frame | 656 // C/C++ frame |
657 bool in_vm = os::address_is_in_vm(pc); | 657 bool in_vm = os::address_is_in_vm(pc); |
658 st->print(in_vm ? "V" : "C"); | 658 st->print(in_vm ? "V" : "C"); |
659 | 659 |
660 int offset; | 660 int offset; |