RFR: 8314274: G1: Fix -Wconversion warnings around G1CardSetArray::_data [v2]

Kim Barrett kbarrett at openjdk.org
Tue Aug 22 16:23:18 UTC 2023


On Wed, 16 Aug 2023 09:26:32 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> Add value-range check and explicit type conversion. The second write has its check at the beginning of the method, so doesn't require an assertion.
>
> Albert Mingkun Yang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   review

Change looks good.

One of us is going to need to deal with the interaction between this and https://git.openjdk.org/jdk/pull/15377

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

Marked as reviewed by kbarrett (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/15289#pullrequestreview-1589818384


More information about the hotspot-gc-dev mailing list