Mercurial > hg > graal-jvmci-8
comparison src/os/windows/vm/os_windows.inline.hpp @ 11092:59b052799158
8015884: runThese crashed with SIGSEGV, hs_err has an error instead of stacktrace
Summary: Dl_info struct should only be used if dladdr() has returned non-zero (no errors) and always check the dladdr() return value; Dl_info.dli_sname and Dl_info.dli_saddr fields should only be used if non-NULL; update/improve runtime/6888954/vmerrors.sh test
Reviewed-by: dsamersoff, zgu, hseigel, coleenp
author | dcubed |
---|---|
date | Thu, 04 Jul 2013 21:10:17 -0700 |
parents | 63e54c37ac64 |
children | 6c9332549827 0118c8c7b80f |
comparison
equal
deleted
inserted
replaced
11091:a55aa67bce1a | 11092:59b052799158 |
---|---|
104 } | 104 } |
105 | 105 |
106 inline int os::close(int fd) { | 106 inline int os::close(int fd) { |
107 return ::close(fd); | 107 return ::close(fd); |
108 } | 108 } |
109 | |
110 #ifndef PRODUCT | |
111 #define CALL_TEST_FUNC_WITH_WRAPPER_IF_NEEDED(f) \ | |
112 os::win32::call_test_func_with_wrapper(f) | |
113 #endif | |
114 | |
109 #endif // OS_WINDOWS_VM_OS_WINDOWS_INLINE_HPP | 115 #endif // OS_WINDOWS_VM_OS_WINDOWS_INLINE_HPP |