RFR (S) 8038633: crash in VM_Version::get_processor_features() on startup
vladimir.kozlov at oracle.com
Mon Mar 31 19:40:23 UTC 2014
I implemented Igor's suggestion and also used these changes to do renaming from getPsrInfo_* to get_cpu_info_*.
On 3/29/14 9:16 AM, Vladimir Kozlov wrote:
> On 3/29/14 3:38 AM, Igor Ignatyev wrote:
>>> + #ifndef TARGET_OS_FAMILY_windows
>>> + #define CALL_TEST_FUNC_WITH_WRAPPER_IF_NEEDED(f) f()
>>> + #endif
>> I think it's better to use '#ifndef CALL_TEST_FUNC_WITH_WRAPPER_IF_NEEDED' instead of '#ifndef
>> TARGET_OS_FAMILY_windows', isn't it?
> You are right, it is more general. I will try it and do testing.
>> On 03/29/2014 05:28 AM, Vladimir Kozlov wrote:
>>> This is a bug tail of 8037226 changes.
>>> Windows need an exception wrapper around getPsrInfo_stub() call in order
>>> to properly handle SEGV for YMM registers test.
>>> The fix is based on code we already have in jni.cpp for
>>> Tested on machines which show the problem.
>>> It will be backported into jdk8u20 which also have 8037226 changes.
More information about the hotspot-dev