RFR: 8258896: Remove the JVM ForceFloatExceptions option

Ioi Lam iklam at openjdk.java.net
Mon Jan 4 18:32:58 UTC 2021


On Mon, 4 Jan 2021 15:54:01 GMT, Harold Seigel <hseigel at openjdk.org> wrote:

> Please review this change to replace the JVM ForceFloatExceptions flag with #ifdef (_DEBUG).  The change was tested with tiers 1 and 2 on Linux, Windows, and Mac OS, and tiers 3-5 on Windows x64.
> 
> Thanks, Harold

src/hotspot/os/windows/os_windows.cpp line 4196:

> 4194:   const long denorm    = 0x02;
> 4195:   const long invalid   = 0x01;
> 4196:   fp_control_word |= invalid;

It looks like only `invalid` is used by the code. Are the other consts necessary?

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

PR: https://git.openjdk.java.net/jdk/pull/1932


More information about the hotspot-runtime-dev mailing list