RFR: 8281455: Change JVM options with small ranges from 64 to 32 bits, for gc_globals.hpp [v2]

Afshin Zafari azafari at openjdk.org
Wed Jun 7 11:29:06 UTC 2023


> The `uintx/intx` options whose ranges are small enough are changed to `uint/int`, otherwise gcc complains 
> when `-Wconversion` is used in build.
> Their uses in printf formats are changed accordingly.
> 
> ### Tests
> Locally hotspot:tier1 tested on linux-x64
> mach5 tiers 1-4 on Linux and Windows 64bits platforms passed.

Afshin Zafari has updated the pull request incrementally with one additional commit since the last revision:

  some more intx to int conversions.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14259/files
  - new: https://git.openjdk.org/jdk/pull/14259/files/9a489ae5..b0b1501c

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

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

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


More information about the hotspot-gc-dev mailing list