RFR: 8272160: Avoid using 32-bit counters in CDS code [v3]
Matias Saavedra Silva
matsaave at openjdk.org
Thu Nov 6 14:41:49 UTC 2025
> There are a handful of counters in CDS code that are `int` when it would be safer to use size_t. While exploring this I discovered that the `_count` field in DumpTimeKlassSubGraphInfoTable is unused so it is removed and the one use case replaced with a more accurate value. Verified with tier1-5 tests.
Matias Saavedra Silva has updated the pull request incrementally with one additional commit since the last revision:
Windows fix
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28139/files
- new: https://git.openjdk.org/jdk/pull/28139/files/d7e054ff..51febba1
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28139&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28139&range=01-02
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/28139.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28139/head:pull/28139
PR: https://git.openjdk.org/jdk/pull/28139
More information about the hotspot-runtime-dev
mailing list