Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(42)

Issue 6862050: gocheck: serialize log writes

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 4 months ago by dave
Modified:
11 years, 1 month ago
Reviewers:
mp+138378, niemeyer, fwereade, rog
Visibility:
Public.

Description

gocheck: serialize log writes Fixes LP #1084878. The race detector cannot profile gocheck tested code due to this race. https://code.launchpad.net/~dave-cheney/gocheck/003-serialise-log-writes/+merge/138378 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : gocheck: seralise log writes #

Patch Set 3 : gocheck: seralise log writes #

Total comments: 5

Patch Set 4 : gocheck: seralise log writes #

Patch Set 5 : gocheck: seralise log writes #

Patch Set 6 : gocheck: serialize log writes #

Patch Set 7 : gocheck: serialize log writes #

Patch Set 8 : gocheck: serialize log writes #

Patch Set 9 : gocheck: serialize log writes #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -16 lines) Patch
A [revision details] View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M gocheck.go View 1 2 3 4 5 6 chunks +39 lines, -14 lines 2 comments Download
M helpers_test.go View 1 2 4 chunks +23 lines, -2 lines 1 comment Download

Messages

Total messages: 16
dave_cheney.net
Please take a look.
11 years, 4 months ago (2012-12-06 04:54:23 UTC) #1
dave_cheney.net
Please take a look.
11 years, 4 months ago (2012-12-06 05:00:40 UTC) #2
rog
LGTM with a few thoughts below https://codereview.appspot.com/6862050/diff/5/gocheck.go File gocheck.go (right): https://codereview.appspot.com/6862050/diff/5/gocheck.go#newcode620 gocheck.go:620: type serialisedLogger struct ...
11 years, 4 months ago (2012-12-06 06:51:57 UTC) #3
niemeyer
https://codereview.appspot.com/6862050/diff/5/gocheck.go File gocheck.go (right): https://codereview.appspot.com/6862050/diff/5/gocheck.go#newcode145 gocheck.go:145: func (c *C) writeLog(buf []byte) { Isn't it enough ...
11 years, 4 months ago (2012-12-06 11:43:02 UTC) #4
niemeyer
https://codereview.appspot.com/6862050/diff/5/helpers_test.go File helpers_test.go (right): https://codereview.appspot.com/6862050/diff/5/helpers_test.go#newcode449 helpers_test.go:449: start.Done() On 2012/12/06 06:51:57, rog wrote: > this seems ...
11 years, 4 months ago (2012-12-06 11:47:04 UTC) #5
dave_cheney.net
Please take a look.
11 years, 4 months ago (2012-12-07 01:57:31 UTC) #6
dave_cheney.net
Please take a look.
11 years, 4 months ago (2012-12-10 00:07:39 UTC) #7
fwereade
LGTM
11 years, 4 months ago (2012-12-10 07:27:27 UTC) #8
dave_cheney.net
On 2012/12/10 07:27:27, fwereade wrote: > LGTM Actually, this doesn't fix all the races. The ...
11 years, 4 months ago (2012-12-11 00:57:41 UTC) #9
dave_cheney.net
Please take a look.
11 years, 4 months ago (2012-12-11 02:34:03 UTC) #10
rog
On 2012/12/11 02:34:03, dfc wrote: > Please take a look. LGTM
11 years, 4 months ago (2012-12-11 12:35:13 UTC) #11
dave_cheney.net
On 2012/12/11 12:35:13, rog wrote: > On 2012/12/11 02:34:03, dfc wrote: > > Please take ...
11 years, 4 months ago (2012-12-13 05:07:33 UTC) #12
dave_cheney.net
Gah - still can't submit, ----- gocheck: serialize log writes Fixes LP #1084878. The race ...
11 years, 4 months ago (2012-12-13 05:14:13 UTC) #13
niemeyer
LGTM https://codereview.appspot.com/6862050/diff/27001/gocheck.go File gocheck.go (right): https://codereview.appspot.com/6862050/diff/27001/gocheck.go#newcode60 gocheck.go:60: writeLock sync.Mutex // protects logb from concurrent writes ...
11 years, 1 month ago (2013-03-01 22:49:17 UTC) #14
niemeyer
*** Submitted: gocheck: serialize log writes Fixes LP #1084878. The race detector cannot profile gocheck ...
11 years, 1 month ago (2013-03-01 22:51:36 UTC) #15
dave_cheney.net
11 years, 1 month ago (2013-03-01 23:11:21 UTC) #16
Thanks Gustavo. 

On 02/03/2013, at 9:51, n13m3y3r@gmail.com wrote:

> *** Submitted:
> 
> gocheck: serialize log writes
> 
> Fixes LP #1084878.
> 
> The race detector cannot profile gocheck tested code due to this race.
> 
> R=rog, niemeyer, fwereade
> CC=
> https://codereview.appspot.com/6862050
> 
> 
> https://codereview.appspot.com/6862050/
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b