8022335: Native stack walk while generating hs_err does not work on Windows x64

Use WinDbg API StackWalk64()

Reviewed-by: zgu, dholmes
This commit is contained in:
Ioi Lam 2013-09-06 08:42:42 -07:00
parent 34d47bd672
commit 1c2a7eea85
11 changed files with 275 additions and 7 deletions

View file

@ -795,6 +795,14 @@ class os: AllStatic {
#endif
public:
#ifndef PLATFORM_PRINT_NATIVE_STACK
// No platform-specific code for printing the native stack.
static bool platform_print_native_stack(outputStream* st, void* context,
char *buf, int buf_size) {
return false;
}
#endif
// debugging support (mostly used by debug.cpp but also fatal error handler)
static bool find(address pc, outputStream* st = tty); // OS specific function to make sense out of an address