RFR: 8346931: Replace divisions by zero in sharedRuntimeTrans.cpp
Matthias Baesken
mbaesken at openjdk.org
Fri Mar 21 13:39:55 UTC 2025
On Thu, 20 Mar 2025 15:56:10 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> 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 .
Btw there are also some old comments on SPARC in the file, should I remove those too?
Seems the define
`share/utilities/globalDefinitions_gcc.hpp:84:#define CAN_USE_NAN_DEFINE 1`
is unused now,, should I remove it ?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24136#issuecomment-2743380705
PR Comment: https://git.openjdk.org/jdk/pull/24136#issuecomment-2743389744
More information about the hotspot-dev
mailing list