Integrated: 8315242: G1: Fix -Wconversion warnings around GCDrainStackTargetSize

Albert Mingkun Yang ayang at openjdk.org
Thu Aug 31 09:52:14 UTC 2023


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

> Use more precise type and range for `GCDrainStackTargetSize`.
> 
> The change to `TASKQUEUE_SIZE` is there, because they are used in the same `MIN2`. (All uses expect `TASKQUEUE_SIZE` to be `uint` as well.)

This pull request has now been integrated.

Changeset: b0353add
Author:    Albert Mingkun Yang <ayang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b0353addf2bb649f98db7194a110c2152c0ed58b
Stats:     9 lines in 4 files changed: 0 ins; 2 del; 7 mod

8315242: G1: Fix -Wconversion warnings around GCDrainStackTargetSize

Reviewed-by: tschatzl, mli

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

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


More information about the hotspot-dev mailing list