mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-24 04:54:40 +02:00
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:
parent
34d47bd672
commit
1c2a7eea85
11 changed files with 275 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue