RFR: JDK-8319927: Log that IEEE rounding mode was corrupted by loading a library
Andrew Haley
aph at openjdk.org
Fri Nov 17 08:22:42 UTC 2023
On Fri, 10 Nov 2023 16:06:18 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> [JDK-8295159](https://bugs.openjdk.org/browse/JDK-8295159) added some IEEE conformance checks and corrections on Linux and macOS/BSD , however in case of issues no logging is done, this should be improved.
src/hotspot/os/bsd/os_bsd.cpp line 1013:
> 1011: int rtn = fesetenv(&default_fenv);
> 1012: assert(rtn == 0, "fesetenv must succeed");
> 1013: bool ieee_handling_after_issue = IEEE_subnormal_handling_OK();
This is a misleading name. It should be something explicit like `ieee_handling_succeeded`. Still, I suppose it's too late now.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16618#discussion_r1396849608
More information about the hotspot-dev
mailing list