RFR: 8346931: Replace divisions by zero in sharedRuntimeTrans.cpp [v2]

Matthias Baesken mbaesken at openjdk.org
Fri Mar 21 13:39:55 UTC 2025


> There are a few divisions by zero in sharedRuntimeTrans.cpp, used to "construct" NaN and -infinity. This should probably be replaced by using functionality from std::numeric_limits .

Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:

  replace more divisons by 0

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24136/files
  - new: https://git.openjdk.org/jdk/pull/24136/files/3e27521c..1aa41c47

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24136&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24136&range=00-01

  Stats: 18 lines in 1 file changed: 6 ins; 7 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/24136.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24136/head:pull/24136

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


More information about the hotspot-dev mailing list