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

Afshin Zafari azafari at openjdk.org
Wed Jun 7 08:57:07 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.

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

Commit messages:
 - move max_uint definition after uint def.
 - defined max_uint.
 - some more changes where juint were upperbounds.
 - JVM options limited to GC ones.
 - before rebase on master

Changes: https://git.openjdk.org/jdk/pull/14259/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14259&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8281455
  Stats: 36 lines in 4 files changed: 2 ins; 0 del; 34 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