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

ben-manes / caffeine / 1382
100%

Build:
DEFAULT BRANCH: master
Ran 11 Oct 2015 11:32PM UTC
Jobs 1
Files 69
Run time 2s
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

pending completion
1382

push

travis-ci

ben-manes
Improved eviction handling in W-TinyLfu

1. An entry with a weight of zero may be resurrected if mistakenly
chosen for eviction. This can occur due to a race, where the choice
is made concurrently with the update. This correctness allows a cache
to be used in a state machine, e.g. assigning zero weight to an
in-flight transaction. We've seen custom hacks to CLHM to do this.

2. The main space now tolerates zero weights, which can occur when an
entry's weight is changed after it been moved. As in the eden space,
the entry is skipped over as ineligable.

3. Evictions from the MRU position can only occur for newly added eden
space candidates. If there are no more candidates than the victim is
chosen. This ensures that if the weight is exceeded then the LRU entry
isn't evicted.

4315 of 4574 relevant lines covered (94.34%)

0.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1382.1 (TERM=dumb) 11 Oct 2015 11:32PM UTC 0
94.34
Travis Job 1382.1
Source Files on build 1382
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1382
  • 198b48cb on github
  • Prev Build on master (#1381)
  • Next Build on master (#1383)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc