Mercurial > hg > truffle
diff src/cpu/x86/vm/vm_version_x86.hpp @ 17829:0118c8c7b80f
8038633: crash in VM_Version::get_processor_features() on startup
Summary: Windows need an exception wrapper around getPsrInfo_stub() call in order to properly handle SEGV for YMM registers test.
Reviewed-by: iveresov, iignatyev
author | kvn |
---|---|
date | Mon, 31 Mar 2014 13:08:03 -0700 |
parents | 606acabe7b5c |
children | 52b4284cb496 999824269b71 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/vm_version_x86.hpp Mon Mar 31 23:49:00 2014 -0400 +++ b/src/cpu/x86/vm/vm_version_x86.hpp Mon Mar 31 13:08:03 2014 -0700 @@ -507,6 +507,7 @@ // The value used to check ymm register after signal handle static int ymm_test_value() { return 0xCAFEBABE; } + static void get_cpu_info_wrapper(); static void set_cpuinfo_segv_addr(address pc) { _cpuinfo_segv_addr = pc; } static bool is_cpuinfo_segv_addr(address pc) { return _cpuinfo_segv_addr == pc; } static void set_cpuinfo_cont_addr(address pc) { _cpuinfo_cont_addr = pc; }