RFR: 8314114: Fix -Wconversion warnings in os code, primarily linux [v3]

Coleen Phillimore coleenp at openjdk.org
Fri Aug 11 13:30:59 UTC 2023


On Fri, 11 Aug 2023 06:53:54 GMT, Dean Long <dlong at openjdk.org> wrote:

>> Are you concerned that the float representation of INT_MAX/1 could be INT_MAX+epsilon so the ceil function increases it to INT_MAX+1?
>
> Yes, exactly, and we have hit similar bugs before.  But the bug seems harmless here.

So, comment?  What should it say?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15229#discussion_r1291256785


More information about the hotspot-dev mailing list