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

apache / bookkeeper / 618
72%

Build:
DEFAULT BRANCH: master
Ran 01 Nov 2019 03:25PM UTC
Jobs 1
Files 539
Run time 34s
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
618

push

jenkins

Enrico Olivelli
Removed mutex contention on BufferedChannel

### Motivation

Contention on `BufferedChannel` between the journal thread and the ForceWriteThread was introduced in #1228.

`unpersistentBytes` is only used if `unpersistedBytesBound > 0`, which is not true by default. We shouldn't be paying the penalty if not needed.

Also `position` doesn't need to be `AtomicLong` since it's only updated while the mutex is taken. Using a volatile will have the same effect with less overhead.


Reviewers: Enrico Olivelli <eolivelli@gmail.com>, Jia Zhai <zhaijia@apache.org>

This closes #2187 from merlimat/buffered-channel-contention

28279 of 39328 relevant lines covered (71.91%)

0.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 618.1 01 Nov 2019 03:25PM UTC 0
71.91
Source Files on build 618
Detailed source file information is not available for this build.
  • Back to Repo
  • Jenkins Build #618
  • f57962bc on github
  • Prev Build on master (#617)
  • Next Build on master (#619)
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