RFR: 8314259: G1: Fix -Wconversion warnings of double to uint in G1CardSetConfiguration

Kim Barrett kbarrett at openjdk.org
Tue Aug 15 18:26:09 UTC 2023


On Tue, 15 Aug 2023 08:34:44 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Adding explicit double to int conversion.

Can we hold off on fixing -Wconversion warnings for float->integral
conversions? We have checked_cast, but it doesn't really support that category
of conversions yet, though I think it should. See https://bugs.openjdk.org/browse/JDK-8314258.

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

PR Comment: https://git.openjdk.org/jdk/pull/15284#issuecomment-1679392748


More information about the hotspot-gc-dev mailing list