Mercurial > hg > truffle
comparison src/share/vm/runtime/os.hpp @ 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 | c636758ea616 |
children | 06ae47d9d088 |
comparison
equal
deleted
inserted
replaced
12198:baa7927dfbd2 | 12199:38f750491293 |
---|---|
793 #ifdef TARGET_OS_ARCH_bsd_zero | 793 #ifdef TARGET_OS_ARCH_bsd_zero |
794 # include "os_bsd_zero.hpp" | 794 # include "os_bsd_zero.hpp" |
795 #endif | 795 #endif |
796 | 796 |
797 public: | 797 public: |
798 #ifndef PLATFORM_PRINT_NATIVE_STACK | |
799 // No platform-specific code for printing the native stack. | |
800 static bool platform_print_native_stack(outputStream* st, void* context, | |
801 char *buf, int buf_size) { | |
802 return false; | |
803 } | |
804 #endif | |
805 | |
798 // debugging support (mostly used by debug.cpp but also fatal error handler) | 806 // debugging support (mostly used by debug.cpp but also fatal error handler) |
799 static bool find(address pc, outputStream* st = tty); // OS specific function to make sense out of an address | 807 static bool find(address pc, outputStream* st = tty); // OS specific function to make sense out of an address |
800 | 808 |
801 static bool dont_yield(); // when true, JVM_Yield() is nop | 809 static bool dont_yield(); // when true, JVM_Yield() is nop |
802 static void print_statistics(); | 810 static void print_statistics(); |