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

Issue 2869893003: New Sequence/Thread checking API. (Closed)

Created:
3 years, 7 months ago by gab
Modified:
3 years, 7 months ago
Reviewers:
danakj, Dirk Pranke, fdoray
CC:
chromium-reviews, danakj+watch_chromium.org, vmpstr+watch_chromium.org, fdoray
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

New Sequence/Thread checking API. Macro-based to be zero size cost in non-dcheck builds. Based on discussion @ https://groups.google.com/a/chromium.org/d/topic/chromium-dev/99pKNd2kCcg/discussion BUG=714835 Review-Url: https://codereview.chromium.org/2869893003 Cr-Commit-Position: refs/heads/master@{#470804} Committed: https://chromium.googlesource.com/chromium/src/+/d52c912abb8accf430d7ba7e7d368b2638a4c8fa

Patch Set 1 #

Total comments: 9

Patch Set 2 : comments and format #

Patch Set 3 : fix tests in non-dcheck builds, need fixture can't use lambdas #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -83 lines) Patch
M PRESUBMIT.py View 1 chunk +24 lines, -0 lines 0 comments Download
M base/sequence_checker.h View 1 2 chunks +53 lines, -21 lines 0 comments Download
M base/sequence_checker_unittest.cc View 1 2 3 chunks +53 lines, -1 line 0 comments Download
M base/threading/non_thread_safe.h View 1 chunk +4 lines, -21 lines 0 comments Download
M base/threading/thread_checker.h View 1 2 chunks +67 lines, -39 lines 0 comments Download
M base/threading/thread_checker_unittest.cc View 1 2 3 chunks +49 lines, -1 line 0 comments Download

Messages

Total messages: 42 (30 generated)
gab
Dana PTaL, as discussed on cr-dev :), will migrate all NonThreadSafe callers to this as ...
3 years, 7 months ago (2017-05-08 20:24:51 UTC) #3
danakj
LGTM https://codereview.chromium.org/2869893003/diff/1/base/sequence_checker.h File base/sequence_checker.h (right): https://codereview.chromium.org/2869893003/diff/1/base/sequence_checker.h#newcode35 base/sequence_checker.h:35: // } I suggest adding the destructor checking ...
3 years, 7 months ago (2017-05-09 16:04:28 UTC) #7
fdoray
https://codereview.chromium.org/2869893003/diff/1/base/sequence_checker.h File base/sequence_checker.h (right): https://codereview.chromium.org/2869893003/diff/1/base/sequence_checker.h#newcode20 base/sequence_checker.h:20: // (use thread-local-storage or a third-party API that does.) ...
3 years, 7 months ago (2017-05-10 13:14:05 UTC) #9
fdoray
https://codereview.chromium.org/2869893003/diff/1/base/sequence_checker.h File base/sequence_checker.h (right): https://codereview.chromium.org/2869893003/diff/1/base/sequence_checker.h#newcode65 base/sequence_checker.h:65: class SequenceChecker : public SequenceCheckerImpl { On 2017/05/10 13:14:05, ...
3 years, 7 months ago (2017-05-10 13:14:57 UTC) #10
gab
Thanks, done and replied :) https://codereview.chromium.org/2869893003/diff/1/base/sequence_checker.h File base/sequence_checker.h (right): https://codereview.chromium.org/2869893003/diff/1/base/sequence_checker.h#newcode20 base/sequence_checker.h:20: // (use thread-local-storage or ...
3 years, 7 months ago (2017-05-10 15:40:08 UTC) #11
gab
+dpranke for PRESUBMIT
3 years, 7 months ago (2017-05-10 15:43:38 UTC) #15
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/2869893003/20001
3 years, 7 months ago (2017-05-10 15:43:46 UTC) #17
fdoray
lgtm
3 years, 7 months ago (2017-05-10 15:57:36 UTC) #20
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/2869893003/20001
3 years, 7 months ago (2017-05-10 18:16:07 UTC) #24
Dirk Pranke
lgtm
3 years, 7 months ago (2017-05-10 22:51:34 UTC) #35
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/2869893003/40001
3 years, 7 months ago (2017-05-11 00:11:12 UTC) #39
commit-bot: I haz the power
3 years, 7 months ago (2017-05-11 04:16:18 UTC) #42
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/d52c912abb8accf430d7ba7e7d36...

Powered by Google App Engine
This is Rietveld 408576698