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

uber / tchannel-go / 1967
87%
dev: 88%

Build:
Build:
LAST BUILD BRANCH: delayed_frame_alloc
DEFAULT BRANCH: dev
Ran 31 May 2016 05:31PM UTC
Jobs 2
Files 42
Run time 3min
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
1967

push

travis-ci

prashantv
Fix races caused by closing sendCh

We have multiple goroutines possibly writing to sendCh, so closing
sendCh causes races unless we add a ton of synchronization between
the goroutines.

In the relay path, we really don't want to add synchronization overhead
for every frame we're handling. The much simpler option is to avoid
closing sendCh, and instead use a separate channel to signal that the
writeFrames goroutine to end. The sendCh will be cleaned up by the
GC automatically when there's no references left to the channel.

It's possible to simplify (and reduce synchronization) in the standard
call path after this change, which can be done separately if we get a
performance benefit. Since the standard call path does much more than
the relay path, it is likely not going to affect performance as much.

3781 of 4350 relevant lines covered (86.92%)

5423.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1967.1 (TEST_TIMEOUT_SCALE=20) 31 May 2016 05:31PM UTC 0
85.49
Travis Job 1967.1
3 1967.3 (TEST_TIMEOUT_SCALE=20) 31 May 2016 05:34PM UTC 0
86.33
Travis Job 1967.3
Source Files on build 1967
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1967
  • 6f79be0b on github
  • Next Build on relay_race_timeout (#1970)
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