On Fri, 27 Oct 2023 11:49:16 GMT, Andrew Haley <a...@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?

Maybe. CheckJNICalls is a product switch and its behavior has not changed since 
initial check-in AFAICS.

Since CSR-freeze is close for JDK 22, maybe this is better as a separate RFE. 
If you want, I can take care of it.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/10661#issuecomment-1782849255

Reply via email to