Index: vmcore/src/util/win/ia32_em64t/nt_exception_filter_common.cpp =================================================================== --- vmcore/src/util/win/ia32_em64t/nt_exception_filter_common.cpp (revision 535588) +++ vmcore/src/util/win/ia32_em64t/nt_exception_filter_common.cpp (working copy) @@ -26,6 +26,7 @@ #include "stack_dump.h" #include "jvmti_break_intf.h" #include "m2n.h" +#include "port_threadunsafe.h" // Windows specific #include @@ -147,23 +148,31 @@ } inline size_t get_stack_size() { + UNSAFE_REGION_START return common_stack_size; + UNSAFE_REGION_END } inline size_t get_guard_stack_size() { + UNSAFE_REGION_START return common_guard_stack_size; + UNSAFE_REGION_END } inline size_t get_guard_page_size() { + UNSAFE_REGION_START return common_guard_page_size; + UNSAFE_REGION_END } void init_stack_info() { p_TLS_vmthread->stack_addr = find_stack_addr(); + UNSAFE_REGION_START common_stack_size = find_stack_size(); common_guard_stack_size = find_guard_stack_size(); common_guard_page_size =find_guard_page_size(); + UNSAFE_REGION_END } void set_guard_stack() {