JDK-8319927 : Log that IEEE rounding mode was corrupted by loading a library
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 22
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2023-11-10
  • Updated: 2023-11-24
  • Resolved: 2023-11-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 22
22 b25Fixed
Related Reports
Relates :  
Relates :  
Description
JDK-8295159 added some IEEE conformance checks and corrections of the floating point environment on Linux and macOS/BSD , however in case of issues no logging is done .

Loading shared libraries can corrupt IEEE rounding mode settings, see JDK-8295159.
This logs 
• whether we had to do the correction
• whether the correction was successful or not

An event log dll message entry is generated and the log is printed with -Xlog:os.

The text logged is 
IEEE subnormal handling had to be corrected after loading <filename>
IEEE subnormal handling could not be corrected after loading <filename>

Comments
Changeset: 9faead14 Author: Matthias Baesken <mbaesken@openjdk.org> Date: 2023-11-16 12:55:06 +0000 URL: https://git.openjdk.org/jdk/commit/9faead1469481e268b451f2853c8fec8613426b9
16-11-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/16618 Date: 2023-11-10 16:06:18 +0000
10-11-2023