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

Issue 28593003: Avoid threading races on TraceSamplingThread's members (Closed)

Created:
7 years, 2 months ago by haraken
Modified:
7 years, 1 month ago
Reviewers:
dsinclair, nduca, Xianzhu
CC:
chromium-reviews, dsinclair+watch_chromium.org, erikwright+watch_chromium.org, glider+watch_chromium.org, timurrrr+watch_chromium.org, bruening+watch_chromium.org
Visibility:
Public.

Description

Avoid threading races on TraceSamplingThread's members The original CL was landed in https://codereview.chromium.org/26541005/ but the CL caused a dead lock. This CL fixed the issue. NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233266

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : Fixed races on WaitableEvent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -46 lines) Patch
M base/debug/trace_event_impl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M base/debug/trace_event_impl.cc View 1 6 chunks +15 lines, -15 lines 0 comments Download
M base/debug/trace_event_unittest.cc View 1 4 chunks +14 lines, -24 lines 0 comments Download
M tools/valgrind/tsan_v2/suppressions.txt View 1 2 chunks +0 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
haraken
I reverted https://codereview.chromium.org/26541005/ because the CL caused a dead lock. This CL addresses the issue. ...
7 years, 2 months ago (2013-10-18 08:58:54 UTC) #1
dsinclair
lgtm
7 years, 2 months ago (2013-10-18 15:17:53 UTC) #2
Xianzhu
lgtm
7 years, 2 months ago (2013-10-18 16:24:53 UTC) #3
nduca
lgtm
7 years, 1 month ago (2013-10-23 07:06:02 UTC) #4
haraken
Sorry for being late. https://codereview.chromium.org/28593003/diff/1/base/debug/trace_event_impl.cc File base/debug/trace_event_impl.cc (right): https://codereview.chromium.org/28593003/diff/1/base/debug/trace_event_impl.cc#newcode835 base/debug/trace_event_impl.cc:835: WaitableEvent* waitable_event_for_testing_; I noticed this ...
7 years, 1 month ago (2013-10-28 01:54:46 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/28593003/120001
7 years, 1 month ago (2013-11-06 12:58:48 UTC) #6
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=34739
7 years, 1 month ago (2013-11-06 13:22:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/28593003/120001
7 years, 1 month ago (2013-11-06 13:57:21 UTC) #8
commit-bot: I haz the power
7 years, 1 month ago (2013-11-06 14:00:04 UTC) #9
Message was sent while issue was closed.
Change committed as 233266

Powered by Google App Engine
This is Rietveld 408576698