• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ben-manes / caffeine / #5541
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v3.dev
DEFAULT BRANCH: master
Ran 23 Jun 2026 07:41AM UTC
Jobs 1
Files 78
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Jun 2026 06:54AM UTC coverage: 100.0%. Remained the same
#5541

push

github

ben-manes
fix stale expiry clock in compute and put

doComputeIfAbsent and put checked hasExpired with the method-entry
clock, unlike remap which re-reads it. A slow bin-lock wait could let an
entry expire after the read, so it was returned as a live hit
(computeIfAbsent) or a stale previous value (put). Read the clock at
point of use instead: computeIfAbsent's fast path after the lookup and
its locked branch, and put per-path (create, onlyIfAbsent fast paths,
and post-lock for the update), dropping put's up-front read.

Adds deterministic bin-lock regression tests and a Fray test.

4049 of 4054 branches covered (99.88%)

6 of 6 new or added lines in 1 file covered. (100.0%)

8242 of 8242 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #5541.1 23 Jun 2026 07:41AM UTC 78
100.0
Source Files on build #5541
  • Tree
  • List 78
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • b9456344 on github
  • Prev Build on v3.dev
  • Next Build on v3.dev
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc