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

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

Build:
Build:
LAST BUILD BRANCH: v3.dev
DEFAULT BRANCH: master
Ran 01 Jul 2026 06:10AM 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

01 Jul 2026 05:32AM UTC coverage: 99.988%. Remained the same
#5567

push

github

ben-manes
Publish the pacer future with release/acquire

Pacer.future is written under the eviction lock but read lock-free by
isScheduled() (rescheduleCleanUpIfIncomplete's fast path, before the
tryLock). As a plain field the lock-free reader has no happens-before to
the write: the unlock is a release of the lock monitor, not of the
field, and the reader never acquires the lock. A Scheduler that returns
an unsafely-published Future could then expose it partially constructed
to the isDone() call. Write it with setRelease and read it with
getAcquire.

Narrow -- the built-in schedulers return safely-published futures and
reference reads are atomic, so this is formal hardening; the staleness
of the fast-path read is benign (re-checked under the lock). 80b9a4b5d
snapshotted the read into a local; this adds the missing edge.

4047 of 4056 branches covered (99.78%)

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

8260 of 8261 relevant lines covered (99.99%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #5567.1 01 Jul 2026 06:10AM UTC 78
99.99
Source Files on build #5567
  • Tree
  • List 78
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 8501b477 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