Integrated: 8314274: G1: Fix -Wconversion warnings around G1CardSetArray::_data

Albert Mingkun Yang ayang at openjdk.org
Tue Aug 22 17:45:17 UTC 2023


On Tue, 15 Aug 2023 13:26:14 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.

This pull request has now been integrated.

Changeset: 32bf468c
Author:    Albert Mingkun Yang <ayang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/32bf468c3b9c39550bca4e9aba31252cf08303ea
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8314274: G1: Fix -Wconversion warnings around G1CardSetArray::_data

Reviewed-by: kbarrett, tschatzl

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

PR: https://git.openjdk.org/jdk/pull/15289


More information about the hotspot-gc-dev mailing list