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

Issue 2528963002: [scheduler] Fix TaskQueueThrottler::SetQueueEnabled logic. (Closed)

Created:
4 years ago by altimin
Modified:
4 years ago
CC:
chromium-reviews, blink-reviews, scheduler-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[scheduler] Fix TaskQueueThrottler::SetQueueEnabled logic. - At the moment check for scheduling a call to PumpThrottledTasks in TaskQueueThrottler::SetQueueEnabled is wrong, should be (enabled) instead of (!enabled). - Added tzik@'s test. - Improved comments in TaskQueueThrottler::SetQueueEnabled. BUG=639852 Committed: https://crrev.com/2aefa856b292402f4be012f6006eebb55f2abf51 Cr-Commit-Position: refs/heads/master@{#434394}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressed alexclarke@'s comments #

Patch Set 3 : Addressed comments #

Total comments: 2

Patch Set 4 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -5 lines) Patch
M third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.cc View 1 2 3 2 chunks +18 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler_unittest.cc View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (15 generated)
altimin
PTAL
4 years ago (2016-11-24 14:22:37 UTC) #2
alex clarke (OOO till 29th)
https://codereview.chromium.org/2528963002/diff/1/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc File third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc (right): https://codereview.chromium.org/2528963002/diff/1/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc#newcode54 third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc:54: std::string PointerToId(void* pointer) { Can we land this separately? ...
4 years ago (2016-11-24 14:45:07 UTC) #3
altimin
PTAL https://codereview.chromium.org/2528963002/diff/1/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc File third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc (right): https://codereview.chromium.org/2528963002/diff/1/third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc#newcode54 third_party/WebKit/Source/platform/scheduler/base/task_queue_manager.cc:54: std::string PointerToId(void* pointer) { On 2016/11/24 14:45:07, alex ...
4 years ago (2016-11-24 15:00:55 UTC) #8
alex clarke (OOO till 29th)
lgtm
4 years ago (2016-11-24 15:29:30 UTC) #9
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/2528963002/40001
4 years ago (2016-11-24 15:40:51 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/111914) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years ago (2016-11-24 15:43:01 UTC) #13
Sami
https://codereview.chromium.org/2528963002/diff/40001/third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.cc File third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.cc (right): https://codereview.chromium.org/2528963002/diff/40001/third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.cc#newcode341 third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.cc:341: if (!find_it->second.IsThrottled()) { I think this needs a rebase; ...
4 years ago (2016-11-24 16:05:50 UTC) #15
altimin
https://codereview.chromium.org/2528963002/diff/40001/third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.cc File third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.cc (right): https://codereview.chromium.org/2528963002/diff/40001/third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.cc#newcode341 third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.cc:341: if (!find_it->second.IsThrottled()) { On 2016/11/24 16:05:49, Sami wrote: > ...
4 years ago (2016-11-24 16:09:36 UTC) #16
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/2528963002/60001
4 years ago (2016-11-24 16:10:57 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/344337)
4 years ago (2016-11-24 17:10:19 UTC) #21
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/2528963002/60001
4 years ago (2016-11-24 19:49:09 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-11-24 21:51:02 UTC) #26
commit-bot: I haz the power
4 years ago (2016-11-24 21:54:01 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2aefa856b292402f4be012f6006eebb55f2abf51
Cr-Commit-Position: refs/heads/master@{#434394}

Powered by Google App Engine
This is Rietveld 408576698