Integrated: 8310027: Fix -Wconversion warnings in nmethod and compiledMethod related code

Coleen Phillimore coleenp at openjdk.org
Tue Jun 20 13:38:20 UTC 2023


On Thu, 15 Jun 2023 22:49:36 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> This change adds casts to nmethod and compiled method offset and size functions that return int, and checked_casts where it's not obvious or already checked that the cast is correct.
> Tested with tier1 on Oracle platforms, and tier1-4 linux and windows.

This pull request has now been integrated.

Changeset: e1906e76
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e1906e76412fa506cf72447dcb9adc896b92ae81
Stats:     50 lines in 8 files changed: 0 ins; 0 del; 50 mod

8310027: Fix -Wconversion warnings in nmethod and compiledMethod related code

Reviewed-by: kvn, fparain

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

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


More information about the hotspot-compiler-dev mailing list