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

Issue 2565893002: Fix TSAN race in access to StatisticsRecorder::lock_ (Closed)

Created:
4 years ago by gab
Modified:
4 years ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, vmpstr+watch_chromium.org, fdoray
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix TSAN race in access to StatisticsRecorder::lock_ BUG=672852 TEST=No more content_unittests, events_unittests, and extensions_unittests failures on linux_chromium_tsan_rel_ng Confirmed @ https://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_tsan_rel_ng/builds/377 Committed: https://crrev.com/c435080b8ebaca0d833b2c2e261eafa2090f725d Cr-Commit-Position: refs/heads/master@{#437932}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -97 lines) Patch
M base/metrics/statistics_recorder.h View 2 chunks +6 lines, -3 lines 0 comments Download
M base/metrics/statistics_recorder.cc View 1 20 chunks +52 lines, -94 lines 0 comments Download

Messages

Total messages: 26 (18 generated)
gab
Alexei PTAL. Basically the "culprit" CL which triggered a TSAN failure is merely adding a ...
4 years ago (2016-12-09 22:50:56 UTC) #4
gab
On 2016/12/09 22:50:56, gab wrote: > Alexei PTAL. > > Basically the "culprit" CL which ...
4 years ago (2016-12-09 22:59:20 UTC) #6
Alexei Svitkine (slow)
Generally looks fine, but I'm concerned about SCOPED_UMA_HISTOGRAM_TIMER() before StatisticsRecorder::Initialize. I thought we call StatisticsRecorder::Initialize() ...
4 years ago (2016-12-09 23:20:11 UTC) #7
gab
On 2016/12/09 23:20:11, Alexei Svitkine (slow) wrote: > Generally looks fine, but I'm concerned about ...
4 years ago (2016-12-09 23:27:37 UTC) #8
Alexei Svitkine (slow)
lgtm
4 years ago (2016-12-12 18:19:57 UTC) #19
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/2565893002/40001
4 years ago (2016-12-12 20:01:31 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years ago (2016-12-12 22:37:18 UTC) #24
commit-bot: I haz the power
4 years ago (2016-12-12 22:39:45 UTC) #26
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c435080b8ebaca0d833b2c2e261eafa2090f725d
Cr-Commit-Position: refs/heads/master@{#437932}

Powered by Google App Engine
This is Rietveld 408576698