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

Issue 141800043: code review 141800043: testing: read coverage counters atomically (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 7 months ago by r
Modified:
9 years, 7 months ago
Reviewers:
gobot, rsc
CC:
dvyukov, rsc, golang-codereviews
Visibility:
Public.

Description

testing: read coverage counters atomically For -mode=atomic, we need to read the counters using an atomic load to avoid a race. Not worth worrying about when -mode=atomic is set during generation of the profile, so we use atomic loads always. Fixes issue 8630.

Patch Set 1 #

Patch Set 2 : diff -r 59fb8415a560343b9d73cb7a5fc0f40dc26e16a0 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M src/testing/cover.go View 3 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 4
r
Hello dvyukov (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
9 years, 7 months ago (2014-09-08 21:39:38 UTC) #1
rsc
LGTM
9 years, 7 months ago (2014-09-09 18:50:40 UTC) #2
r
*** Submitted as https://code.google.com/p/go/source/detail?r=605db9b526f4 *** testing: read coverage counters atomically For -mode=atomic, we need to ...
9 years, 7 months ago (2014-09-09 19:31:10 UTC) #3
gobot
9 years, 7 months ago (2014-09-09 22:05:49 UTC) #4
Message was sent while issue was closed.
This CL appears to have broken the windows-amd64-perf builder.
See http://build.golang.org/log/27649e84a89c7feba439522e1db6e27a98b9289e
Sign in to reply to this message.

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