RFR (S) 8038633: crash in VM_Version::get_processor_features() on startup

Igor Ignatyev igor.ignatyev at oracle.com
Sat Mar 29 10:38:36 UTC 2014


Vladimir,

> + #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?

Igor

On 03/29/2014 05:28 AM, Vladimir Kozlov wrote:
> http://cr.openjdk.java.net/~kvn/8038633/webrev/
> https://bugs.openjdk.java.net/browse/JDK-8038633
>
> 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
> test_error_handler().
>
> Tested on machines which show the problem.
>
> It will be backported into jdk8u20 which also have 8037226 changes.
>
> Thanks,
> Vladimir


More information about the hotspot-dev mailing list