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

Frederic Parain fparain at openjdk.org
Tue Jun 20 12:37:02 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.

Looks good to me

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

Marked as reviewed by fparain (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/14505#pullrequestreview-1488044615


More information about the hotspot-compiler-dev mailing list