RFR: JDK-8321017: Record in JFR that IEEE rounding mode was corrupted by loading a library

Matthias Baesken mbaesken at openjdk.org
Thu Nov 30 14:51:33 UTC 2023


[JDK-8295159](https://bugs.openjdk.org/browse/JDK-8295159) added some IEEE conformance checks and corrections of the floating point environment on Linux and macOS/BSD, and later some UL logging was added too.
However the information is not added to the JFR events, and this should be enhanced.
The already existing NativeLibraryLoad event can be used for storing the additional information, because the IEEE conformance check and fenv  get/set  is placed in the HS dlopen_helper , where already the NativeLibraryLoad  event objects are created/commited .

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

Commit messages:
 - JDK-8321017

Changes: https://git.openjdk.org/jdk/pull/16903/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16903&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8321017
  Stats: 34 lines in 5 files changed: 24 ins; 5 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/16903.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16903/head:pull/16903

PR: https://git.openjdk.org/jdk/pull/16903


More information about the hotspot-dev mailing list