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

Issue 822933004: cc: Trigger deadline immediately when commit is aborted. (Closed)

Created:
5 years, 11 months ago by sunnyps
Modified:
5 years, 11 months ago
Reviewers:
brianderson
CC:
chromium-reviews, cc-bugs_chromium.org, 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

cc: Trigger deadline immediately when commit is aborted. The scheduler should trigger it's deadline immediately if there's no more work to be done in a given frame. This happens for instance when a commit is aborted and there's nothing to draw. BUG=432981 Committed: https://crrev.com/7f6eb54c666afea307ad3035c404e00692cacbf1 Cr-Commit-Position: refs/heads/master@{#311404}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase #

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -6 lines) Patch
M cc/scheduler/scheduler_state_machine.cc View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M cc/scheduler/scheduler_unittest.cc View 1 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
sunnyps
PTAL
5 years, 11 months ago (2015-01-09 23:06:58 UTC) #2
brianderson
Thanks for picking this up. https://codereview.chromium.org/822933004/diff/1/cc/scheduler/scheduler_state_machine.cc File cc/scheduler/scheduler_state_machine.cc (right): https://codereview.chromium.org/822933004/diff/1/cc/scheduler/scheduler_state_machine.cc#newcode858 cc/scheduler/scheduler_state_machine.cc:858: if (pending_swaps_ >= max_pending_swaps_) ...
5 years, 11 months ago (2015-01-09 23:54:22 UTC) #3
sunnyps
PTAL. It will be helpful to look at the overall diff rather than diff from ...
5 years, 11 months ago (2015-01-13 19:36:01 UTC) #4
brianderson
lgtm
5 years, 11 months ago (2015-01-14 01:34:39 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/822933004/40001
5 years, 11 months ago (2015-01-14 01:35:43 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 11 months ago (2015-01-14 03:47:59 UTC) #8
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/7f6eb54c666afea307ad3035c404e00692cacbf1 Cr-Commit-Position: refs/heads/master@{#311404}
5 years, 11 months ago (2015-01-14 03:49:04 UTC) #9
sunnyps
5 years, 11 months ago (2015-01-22 20:43:39 UTC) #10
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/871613002/ by sunnyps@chromium.org.

The reason for reverting is: caused major regression in tough_compositor_cases
crbug.com/450897.

Powered by Google App Engine
This is Rietveld 408576698