RFR: 8310906: Fix -Wconversion warnings in runtime, oops and some code header files. [v3]

Coleen Phillimore coleenp at openjdk.org
Tue Jun 27 20:48:27 UTC 2023


> This is another version of PR https://github.com/openjdk/jdk/pull/14659 but I've added a pointer delta function in globalDefinitions.hpp to use for these pointer diff calculations that return int everywhere.  If the name is agreeable, I'll fix the other cases of this like this.  It's better than raw casts.
> Tested with tier1-4.

Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:

  Fixed the comment.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14675/files
  - new: https://git.openjdk.org/jdk/pull/14675/files/99a15d6e..858e9cfb

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14675&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14675&range=01-02

  Stats: 4 lines in 1 file changed: 1 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/14675.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14675/head:pull/14675

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


More information about the hotspot-dev mailing list