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

Issue 1956333002: Change the base class of BlameContext into AsyncEnabledStateObserver (Closed)

Created:
4 years, 7 months ago by Xiaocheng
Modified:
4 years, 7 months ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@ThreadSafeObserver
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change the base class of BlameContext into AsyncEnabledStateObserver This is a follow-up CL of https://codereview.chromium.org/1956323002. BUG=610629 Committed: https://crrev.com/31ea0222e9a5124bd55a38ce9bec31a9623bb393 Cr-Commit-Position: refs/heads/master@{#393297}

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : Fix component unit test TaskQueueManagerTestWithTracing.BlameContextAttribution #

Patch Set 4 : Rebased #

Patch Set 5 : Rebased #

Patch Set 6 : Use ThreadChecker #

Patch Set 7 : Add missing #include #

Patch Set 8 : Remove thread checking in Enter() and Leave() #

Patch Set 9 : Add note on thread safety for Enter() and Leave() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -8 lines) Patch
M base/trace_event/blame_context.h View 1 2 3 4 5 6 7 8 4 chunks +12 lines, -3 lines 0 comments Download
M base/trace_event/blame_context.cc View 1 2 3 4 5 6 7 3 chunks +8 lines, -3 lines 0 comments Download
M base/trace_event/blame_context_unittest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M components/scheduler/base/task_queue_manager_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 34 (13 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1956333002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1956333002/20001
4 years, 7 months ago (2016-05-10 09:34:28 UTC) #3
commit-bot: I haz the power
Dry run: Exceeded global retry quota
4 years, 7 months ago (2016-05-10 10:09:13 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1956333002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1956333002/40001
4 years, 7 months ago (2016-05-10 10:17:43 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/210879)
4 years, 7 months ago (2016-05-10 11:27:14 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1956333002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1956333002/60001
4 years, 7 months ago (2016-05-11 04:22:45 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-11 05:55:26 UTC) #13
Xiaocheng
PTAL. This is a follow-up CL of https://codereview.chromium.org/1956323002 making BlameContext thread safe.
4 years, 7 months ago (2016-05-11 11:43:57 UTC) #15
Sami
lgtm, thanks!
4 years, 7 months ago (2016-05-11 11:48:50 UTC) #16
Primiano Tucci (use gerrit)
On 2016/05/11 11:48:50, Sami wrote: > lgtm, thanks! Oh no this is now breaking the ...
4 years, 7 months ago (2016-05-11 12:09:40 UTC) #17
Primiano Tucci (use gerrit)
On 2016/05/11 12:09:40, Primiano Tucci wrote: > On 2016/05/11 11:48:50, Sami wrote: > > lgtm, ...
4 years, 7 months ago (2016-05-11 12:10:24 UTC) #18
Sami
On 2016/05/11 12:09:40, Primiano Tucci wrote: > On 2016/05/11 11:48:50, Sami wrote: > > lgtm, ...
4 years, 7 months ago (2016-05-11 12:40:34 UTC) #19
Xiaocheng
Thanks for the scary and non-scary comments. I added ThreadChecker into the class, which turns ...
4 years, 7 months ago (2016-05-12 05:55:44 UTC) #20
Xiaocheng
On 2016/05/12 at 05:55:44, Xiaocheng wrote: > Thanks for the scary and non-scary comments. > ...
4 years, 7 months ago (2016-05-12 08:21:13 UTC) #21
Primiano Tucci (use gerrit)
On 2016/05/12 08:21:13, Xiaocheng wrote: > Some further thought: it seems that thread affinity checking ...
4 years, 7 months ago (2016-05-12 09:12:05 UTC) #22
Sami
Right, sorry I forgot about the V8GCController case. I think we do actually want to ...
4 years, 7 months ago (2016-05-12 10:47:02 UTC) #23
Xiaocheng
Added a note on thread safety to Enter() and Leave(), following Sami's suggestions. I'm going ...
4 years, 7 months ago (2016-05-12 14:56:19 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1956333002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1956333002/160001
4 years, 7 months ago (2016-05-12 14:56:33 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/212480)
4 years, 7 months ago (2016-05-12 16:46:53 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1956333002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1956333002/160001
4 years, 7 months ago (2016-05-12 17:14:08 UTC) #31
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 7 months ago (2016-05-12 17:59:45 UTC) #32
commit-bot: I haz the power
4 years, 7 months ago (2016-05-12 18:01:13 UTC) #34
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/31ea0222e9a5124bd55a38ce9bec31a9623bb393
Cr-Commit-Position: refs/heads/master@{#393297}

Powered by Google App Engine
This is Rietveld 408576698