RFR: 8338449: ubsan: division by zero in sharedRuntimeTrans.cpp
Andrew Haley
aph at openjdk.org
Tue Oct 15 19:49:11 UTC 2024
On Tue, 15 Oct 2024 12:18:33 GMT, David Holmes <dholmes at openjdk.org> wrote:
> I'm not sure what the implications of this actually are. Do we really need it? Maybe @jddarcy can comment?
It needs to return -Inf. ubsan seems wrong here: this IEEE-754 arithmetic is well defined, and has been for a very long while.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21500#discussion_r1801820032
More information about the hotspot-dev
mailing list