RFR: 8337683: Fix -Wconversion problem with arrayOop.hpp [v3]

Coleen Phillimore coleenp at openjdk.org
Wed Aug 7 18:24:16 UTC 2024


> Since base_offset_in_bytes and HeapWordSize are int, there's no loss of conversion in making these variables int.  This seems trivial.
> Tested with tier1 on linux and windows.

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

  Fix compilation error and use pointer_delta_as_int instead.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20431/files
  - new: https://git.openjdk.org/jdk/pull/20431/files/4ac52827..acbdbbdc

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

  Stats: 2 lines in 2 files changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/20431.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20431/head:pull/20431

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


More information about the hotspot-dev mailing list