Integrated: 8310332: Fix -Wconversion warnings in MethodData

Coleen Phillimore coleenp at openjdk.org
Wed Jun 21 18:01:17 UTC 2023


On Tue, 20 Jun 2023 12:29:17 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> Please review this change to narrow parameter and return types to avoid implicit casts, add casts where obvious, add checked_cast<> where not obvious and changed the size of a couple parameters to not cast to the smaller size.
> I didn't change TypeProfileWidth and BciProfileWidth because jvmci and SA care about the sizes.
> Tested tier1 all Oracle supported platforms, and tier1-4 linux + windows x64.

This pull request has now been integrated.

Changeset: fd1163d5
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/fd1163d5f1f702ba81553c224ee86a2c6566fe55
Stats:     24 lines in 3 files changed: 0 ins; 0 del; 24 mod

8310332: Fix -Wconversion warnings in MethodData

Reviewed-by: aph, fparain

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

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


More information about the hotspot-dev mailing list