The GitHub Actions job "Build" on jackrabbit-oak.git/issue/OAK-12452 has failed.
Run started by GitHub user lweitzendorf (triggered by nfsantos).

Head commit for run:
7bd4fb93879628c1a129205cca761dd1dac62629 / Lucas Weitzendorf 
<[email protected]>
OAK-12452: ReaderCache cleanup

- **`CacheKey` and `FastCacheEntry` are now records** — plain immutable
value holders. The redundant cached `hash` field is removed from both:
`CacheKey.hashCode()` recomputes `getEntryHash` (a few int ops, only on
a slow-tier probe), and `FastCacheEntry` never read its stored hash.
- **`FastCache` now owns its hash computation and entry allocation**:
`get`/`put` derive the array index from `(msb, lsb, offset)` internally
instead of the caller precomputing a hash and threading it through both
calls, and `put` builds the `FastCacheEntry` itself. Isolated and
end-to-end microbenchmarks confirm recomputing the hash is free (within
measurement noise) — nothing was worth manually caching.

Report URL: https://github.com/apache/jackrabbit-oak/actions/runs/37779078574

With regards,
GitHub Actions via GitBox

Reply via email to