RFR: 8291953: Remove PTR32_FORMAT macros
Kim Barrett
kbarrett at openjdk.org
Fri Aug 5 07:26:32 UTC 2022
Please review this change to remove the PTR32_FORMAT macro.
And the idea of hard-coded 32bit pointers is bad; we already have the
PTR_FORMAT macros that deal with the 32/64bit distinction for pointers, and
those should be used for such.
However, all uses of PTR32_FORMAT are actually with values that are real uint
values, not (converted) pointers. They should just use "%u" instead. So we
can eliminate PTR32_FORMAT.
The unused PTR32_FORMAT_W is is also removed.
Testing:
mach5 tier1
-------------
Commit messages:
- remove PTR32_FORMAT
Changes: https://git.openjdk.org/jdk/pull/9768/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9768&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8291953
Stats: 12 lines in 3 files changed: 0 ins; 3 del; 9 mod
Patch: https://git.openjdk.org/jdk/pull/9768.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/9768/head:pull/9768
PR: https://git.openjdk.org/jdk/pull/9768
More information about the hotspot-dev
mailing list