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

Coleen Phillimore coleenp at openjdk.org
Tue Jun 27 15:16: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:

  Make delta_as_int take pointers and fix cast.  Missed one in stubCodeGenerator.hpp

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

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

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

  Stats: 3 lines in 3 files changed: 0 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