Integrated: JDK-8320892: AArch64: Restore FPU control state after JNI
Andrew Haley
aph at openjdk.org
Wed Dec 6 15:35:52 UTC 2023
On Tue, 28 Nov 2023 14:26:11 GMT, Andrew Haley <aph at openjdk.org> wrote:
> Some buggy libraries corrupt the floating-point control register. Provide something similar to the x86 RestoreMXCSROnJNICalls.
>
> I realize that using the x86ish name "RestoreMXCSROnJNICalls" might be a little controversial, but it is a _global_ flag, not a CPU-specific one. And it's clearly intended for this purpose. It might have been better if that flag had been given a better name twentyish years ago, but we can't change it now.
This pull request has now been integrated.
Changeset: 50f31240
Author: Andrew Haley <aph at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/50f31240555888018f0f496ab29c8a5932dce459
Stats: 28 lines in 5 files changed: 26 ins; 0 del; 2 mod
8320892: AArch64: Restore FPU control state after JNI
Reviewed-by: adinn, stuefe
-------------
PR: https://git.openjdk.org/jdk/pull/16851
More information about the hotspot-dev
mailing list