Integrated: 8272160: Avoid using 32-bit counters in CDS code
Matias Saavedra Silva
matsaave at openjdk.org
Thu Nov 6 21:07:12 UTC 2025
On Tue, 4 Nov 2025 19:08:34 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: 87966112
Author: Matias Saavedra Silva <matsaave at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/8796611206438c6fe8bf0cba87dca089d9da2e30
Stats: 40 lines in 7 files changed: 0 ins; 3 del; 37 mod
8272160: Avoid using 32-bit counters in CDS code
Reviewed-by: iklam, kvn
-------------
PR: https://git.openjdk.org/jdk/pull/28139
More information about the hotspot-runtime-dev
mailing list