RFR: JDK-8320892: AArch64: Restore FPU control state after JNI [v2]
Andrew Haley
aph at openjdk.org
Tue Nov 28 15:09:35 UTC 2023
> 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.
Andrew Haley has updated the pull request incrementally with one additional commit since the last revision:
Fix oop map
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/16851/files
- new: https://git.openjdk.org/jdk/pull/16851/files/8dc2033c..590bb9a5
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=16851&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=16851&range=00-01
Stats: 6 lines in 1 file changed: 3 ins; 3 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/16851.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16851/head:pull/16851
PR: https://git.openjdk.org/jdk/pull/16851
More information about the hotspot-dev
mailing list