Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(274)

Issue 2596633002: Add bufferpool, a sync.Pool-backed pool of buffers (Closed)

Created:
4 years ago by dnj
Modified:
4 years ago
Reviewers:
Vadim Sh.
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, maruel+w_chromium.org, tandrii+luci-go_chromium.org
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

Add bufferpool, a sync.Pool-backed pool of buffers BUG=chromium:675485 TEST=unit Review-Url: https://codereview.chromium.org/2596633002 Committed: https://github.com/luci/luci-go/commit/c5d59a001263b51aeae9d033de99bb2598845603

Patch Set 1 #

Patch Set 2 : Move to "common/sync" #

Total comments: 3

Patch Set 3 : Spoil / un-spoil the buffer. #

Patch Set 4 : Wrap each Buffer on Get. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -0 lines) Patch
A common/sync/bufferpool/buffer_pool.go View 1 2 3 1 chunk +75 lines, -0 lines 0 comments Download
A common/sync/bufferpool/buffer_pool_test.go View 1 2 3 1 chunk +80 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
dnj
PTAL
4 years ago (2016-12-20 22:29:57 UTC) #2
Vadim Sh.
lgtm https://codereview.chromium.org/2596633002/diff/20001/common/sync/bufferpool/buffer_pool.go File common/sync/bufferpool/buffer_pool.go (right): https://codereview.chromium.org/2596633002/diff/20001/common/sync/bufferpool/buffer_pool.go#newcode62 common/sync/bufferpool/buffer_pool.go:62: // After calling Release, no accesses may be ...
4 years ago (2016-12-20 23:11:51 UTC) #3
Vadim Sh.
actually, not yet https://codereview.chromium.org/2596633002/diff/20001/common/sync/bufferpool/buffer_pool.go File common/sync/bufferpool/buffer_pool.go (right): https://codereview.chromium.org/2596633002/diff/20001/common/sync/bufferpool/buffer_pool.go#newcode62 common/sync/bufferpool/buffer_pool.go:62: // After calling Release, no accesses ...
4 years ago (2016-12-20 23:13:51 UTC) #4
dnj
https://codereview.chromium.org/2596633002/diff/20001/common/sync/bufferpool/buffer_pool.go File common/sync/bufferpool/buffer_pool.go (right): https://codereview.chromium.org/2596633002/diff/20001/common/sync/bufferpool/buffer_pool.go#newcode62 common/sync/bufferpool/buffer_pool.go:62: // After calling Release, no accesses may be made ...
4 years ago (2016-12-21 00:54:38 UTC) #5
Vadim Sh.
lgtm
4 years ago (2016-12-21 01:01:14 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2596633002/60001
4 years ago (2016-12-21 01:02:36 UTC) #8
commit-bot: I haz the power
4 years ago (2016-12-21 01:08:15 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://github.com/luci/luci-go/commit/c5d59a001263b51aeae9d033de99bb2598845603

Powered by Google App Engine
This is Rietveld 408576698