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

Issue 2742383005: [scheduler] Untangle BudgetPool from TaskQueueThrottler. (Closed)

Created:
3 years, 9 months ago by altimin
Modified:
3 years, 9 months ago
CC:
chromium-reviews, blink-reviews, kinuko+watch, scheduler-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[scheduler] Untangle BudgetPool from TaskQueueThrottler. This is the refactoring needed for new wakeup-based throttling mechanism. Remove friendship between BudgetPools and TaskQueueThrottler. R=skyostil@chromium.org,alexclarke@chromium.org BUG=699541 Review-Url: https://codereview.chromium.org/2742383005 Cr-Commit-Position: refs/heads/master@{#457395} Committed: https://chromium.googlesource.com/chromium/src/+/dbd112157be505b23f60116a3636870aee7ade32

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed comments from skyostil@ #

Total comments: 2

Patch Set 3 : Fix nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -100 lines) Patch
M third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.h View 1 6 chunks +12 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.cc View 1 6 chunks +15 lines, -40 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h View 1 2 9 chunks +48 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.cc View 1 6 chunks +68 lines, -27 lines 0 comments Download

Messages

Total messages: 26 (17 generated)
altimin
PTAL
3 years, 9 months ago (2017-03-14 18:02:44 UTC) #1
alex clarke (OOO till 29th)
lgtm Over all this looks fine. Just a design bikeshed for follow up patches. https://codereview.chromium.org/2742383005/diff/1/third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h ...
3 years, 9 months ago (2017-03-14 18:22:39 UTC) #4
altimin
https://codereview.chromium.org/2742383005/diff/1/third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h File third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h (right): https://codereview.chromium.org/2742383005/diff/1/third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h#newcode116 third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h:116: void AddQueueToBudgetPool(TaskQueue* queue, BudgetPool* budget_pool); On 2017/03/14 18:22:39, alex ...
3 years, 9 months ago (2017-03-14 18:26:45 UTC) #5
Sami
https://codereview.chromium.org/2742383005/diff/1/third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.h File third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.h (right): https://codereview.chromium.org/2742383005/diff/1/third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.h#newcode64 third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.h:64: // Call TaskQueueThrottler::BlockThrottledQueue for all relevant queues. This is ...
3 years, 9 months ago (2017-03-14 18:43:01 UTC) #6
altimin
PTAL https://codereview.chromium.org/2742383005/diff/1/third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.h File third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.h (right): https://codereview.chromium.org/2742383005/diff/1/third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.h#newcode64 third_party/WebKit/Source/platform/scheduler/renderer/budget_pool.h:64: // Call TaskQueueThrottler::BlockThrottledQueue for all relevant queues. On ...
3 years, 9 months ago (2017-03-14 20:04:28 UTC) #10
Sami
lgtm, thanks! https://codereview.chromium.org/2742383005/diff/20001/third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h File third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h (right): https://codereview.chromium.org/2742383005/diff/20001/third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h#newcode84 third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h:84: BudgetPoolController { nit: public inheritance plz
3 years, 9 months ago (2017-03-15 15:08:08 UTC) #14
altimin
https://codereview.chromium.org/2742383005/diff/20001/third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h File third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h (right): https://codereview.chromium.org/2742383005/diff/20001/third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h#newcode84 third_party/WebKit/Source/platform/scheduler/renderer/task_queue_throttler.h:84: BudgetPoolController { On 2017/03/15 15:08:08, Sami wrote: > nit: ...
3 years, 9 months ago (2017-03-15 18:20:56 UTC) #17
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/2742383005/40001
3 years, 9 months ago (2017-03-16 11:48:59 UTC) #23
commit-bot: I haz the power
3 years, 9 months ago (2017-03-16 11:53:53 UTC) #26
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/dbd112157be505b23f60116a3636...

Powered by Google App Engine
This is Rietveld 408576698