RFR: Fix SCCache stats logged on exit

Ashutosh Mehra asmehra at openjdk.org
Fri Feb 14 03:10:05 UTC 2025


The count of various SCCEntry kinds is not correctly computed. This patch fixes it.
This code was introduced as part of i2c2i adapters and was picked up from Andrew Dinn's work on storing stub and blobs. Clearly I messed it up.
The patch also computes and shows the counts for old entries and new entries separately. Though not useful for now, but in incremental workflow it may be helpful to distinguish between the old and new entries.

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

Commit messages:
 - Fix whitespace errors
 - Fix SCCache stats logged on exit

Changes: https://git.openjdk.org/leyden/pull/42/files
  Webrev: https://webrevs.openjdk.org/?repo=leyden&pr=42&range=00
  Stats: 50 lines in 1 file changed: 13 ins; 6 del; 31 mod
  Patch: https://git.openjdk.org/leyden/pull/42.diff
  Fetch: git fetch https://git.openjdk.org/leyden.git pull/42/head:pull/42

PR: https://git.openjdk.org/leyden/pull/42


More information about the leyden-dev mailing list