RFR: JDK-8322366: Add IEEE rounding mode corruption check to JNI checks
David Holmes
dholmes at openjdk.org
Mon Jan 15 02:45:18 UTC 2024
On Fri, 12 Jan 2024 09:05:56 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> In the review of [JDK-8321017](https://bugs.openjdk.org/browse/JDK-8321017) the idea was introduced to enhance the JNI checker (-Xcheck:jni) by adding IEEE rounding mode corruption checks.
> See also https://bugs.openjdk.org/browse/JDK-8295159 for more details on these issues.
Do we not want to print the stack the way we do with `ReportJNIWarning` in `jniCheck.cpp`? Otherwise the warning itself seems of little help in locating the source of the problem.
Also a shame we have to duplicate essentially the same message three times in the function.
-------------
PR Review: https://git.openjdk.org/jdk/pull/17391#pullrequestreview-1820566461
More information about the hotspot-runtime-dev
mailing list