Integrated: 8272576: G1: Use more accurate integer type for collection set length
Albert Mingkun Yang
ayang at openjdk.java.net
Thu Aug 19 10:00:31 UTC 2021
On Tue, 17 Aug 2021 16:12:28 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
> Simple change of using smaller integer type, `size_t` to `uint`. Also moved the bound-check assertion before array access.
>
> Test: hotspot_gc
This pull request has now been integrated.
Changeset: ab418129
Author: Albert Mingkun Yang <ayang at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/ab41812951aad9d44fb475d3a8c94b65d9e22b20
Stats: 10 lines in 2 files changed: 2 ins; 2 del; 6 mod
8272576: G1: Use more accurate integer type for collection set length
Reviewed-by: iwalulya, sjohanss
-------------
PR: https://git.openjdk.java.net/jdk/pull/5148
More information about the hotspot-gc-dev
mailing list