RFR : JDK-8067744 : XMM/SSE float register values corrupted by JNI_CreateVM call in JRE 8 (Windows)

Vladimir Kozlov vladimir.kozlov at oracle.com
Thu Oct 20 17:25:04 UTC 2016


Hi Dmitry,

New code does not restore whole 64-bit of xmm7,8,15 in AVX512 case. I 
think you can totally separate save/restore for these cases.

thanks,
Vladimir

On 10/19/16 4:49 AM, Dmitry Chuyko wrote:
> Summary: Few xmm registers saved on stack and restored in
> generate_get_cpu_info on Windows, a bit different on 2 detection paths.
> New test calls native executable that loads jvm shared library and
> checks if some double values are corrupted. The test reproduced the
> problem on my machine with current devkit but not on Aurora.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8067744
>
> Webrev: http://javaweb.us.oracle.com/~dchuyko/webrevs/8067744/webrev.00/
>
> Testing: RBT -j hs-tier0-comp, fix applied over 9-b140 mainline, hotspot
> b44d14948c83
>     before
> https://jdash.se.oracle.com/rbt/rbt-dmitry.chuyko-myclone9-20161018-1618-25974
>
>     after
> https://jdash.se.oracle.com/rbt/rbt-dmitry.chuyko-myclone9-20161018-1710-25984
>
>
> Thanks,
> -Dmitry
>


More information about the hotspot-compiler-dev mailing list