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

Issue 1292983005: [scheduler]: Fix tracing issues with nested IdlePeriod trace events. (Closed)

Created:
5 years, 4 months ago by rmcilroy
Modified:
5 years, 4 months ago
Reviewers:
Sami, Sami (do not use)
CC:
chromium-reviews, scheduler-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[scheduler]: Fix tracing issues with nested IdlePeriod trace events. Avoids using nested async trace events and moves back to async step-into because otherwise tracing seems to get messed up under certain circumstances. Also removes a DCHECK which could fire when in a nested message loop. BUG=522843, 504656 Committed: https://crrev.com/40acc969c52775e2421f3731caf5f7f810beedcd Cr-Commit-Position: refs/heads/master@{#344750}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Add todo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -66 lines) Patch
M components/scheduler/child/idle_helper.h View 2 chunks +7 lines, -4 lines 0 comments Download
M components/scheduler/child/idle_helper.cc View 5 chunks +60 lines, -62 lines 0 comments Download
M components/scheduler/child/task_queue_manager.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 15 (7 generated)
rmcilroy
Sami, PTAL, thanks.
5 years, 4 months ago (2015-08-20 18:41:54 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1292983005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1292983005/20001
5 years, 4 months ago (2015-08-20 19:08:00 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/42469)
5 years, 4 months ago (2015-08-20 20:42:52 UTC) #7
Sami
Thanks, lgtm. https://codereview.chromium.org/1292983005/diff/20001/components/scheduler/child/idle_helper.cc File components/scheduler/child/idle_helper.cc (left): https://codereview.chromium.org/1292983005/diff/20001/components/scheduler/child/idle_helper.cc#oldcode282 components/scheduler/child/idle_helper.cc:282: DCHECK(IsInIdlePeriod(state_.idle_period_state())); Would you also mind adding a ...
5 years, 4 months ago (2015-08-21 10:46:58 UTC) #9
rmcilroy
https://codereview.chromium.org/1292983005/diff/20001/components/scheduler/child/idle_helper.cc File components/scheduler/child/idle_helper.cc (left): https://codereview.chromium.org/1292983005/diff/20001/components/scheduler/child/idle_helper.cc#oldcode282 components/scheduler/child/idle_helper.cc:282: DCHECK(IsInIdlePeriod(state_.idle_period_state())); On 2015/08/21 10:46:58, Sami wrote: > Would you ...
5 years, 4 months ago (2015-08-21 10:57:47 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1292983005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1292983005/40001
5 years, 4 months ago (2015-08-21 10:58:25 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 4 months ago (2015-08-21 13:24:38 UTC) #14
commit-bot: I haz the power
5 years, 4 months ago (2015-08-21 13:25:12 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/40acc969c52775e2421f3731caf5f7f810beedcd
Cr-Commit-Position: refs/heads/master@{#344750}

Powered by Google App Engine
This is Rietveld 408576698