RFR: 8295159: DSO created with -ffast-math breaks Java floating-point arithmetic [v15]
Andrew Haley
aph at openjdk.org
Fri Oct 27 11:51:44 UTC 2023
On Thu, 26 Oct 2023 15:59:08 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> One more thought, it would be good to add the FTZ_mode_enabled check to `os::run_periodic_checks()`.
>
> We already do signal handler checks there, and it is the right place to check for "global things third party native code may mess up". It runs when one uses `-XX:CheckJNICalls`. If a native library messes with fenv, one will get a delayed assertion, with a hs-err file that lists all the shared objects.
That's a terrific idea, but maybe it'd want a CSR?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/10661#issuecomment-1782780145
More information about the build-dev
mailing list