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

Issue 1882293004: TaskScheduler: Remove wake up callback from PriorityQueue. (Closed)

Created:
4 years, 8 months ago by fdoray
Modified:
4 years, 8 months ago
Reviewers:
danakj, robliao, gab
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@5c_noexit
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

TaskScheduler: Remove wake up callback from PriorityQueue. We will call a wake up method explicitly after pushing a Sequence in a PriorityQueue instead of relying on a callback to do it automatically. BUG=553459 Committed: https://crrev.com/2ce5469c8f861b74dd6242e0231c2f71d1d9a3c4 Cr-Commit-Position: refs/heads/master@{#387492}

Patch Set 1 #

Total comments: 4

Patch Set 2 : CR robliao #3 (remove unnecessary comment) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -179 lines) Patch
M base/task_scheduler/priority_queue.h View 1 4 chunks +5 lines, -27 lines 0 comments Download
M base/task_scheduler/priority_queue.cc View 3 chunks +4 lines, -28 lines 0 comments Download
M base/task_scheduler/priority_queue_unittest.cc View 8 chunks +9 lines, -124 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 20 (7 generated)
fdoray
Can you review this CL? Thanks.
4 years, 8 months ago (2016-04-13 13:48:01 UTC) #2
robliao
https://codereview.chromium.org/1882293004/diff/1/base/task_scheduler/priority_queue.h File base/task_scheduler/priority_queue.h (right): https://codereview.chromium.org/1882293004/diff/1/base/task_scheduler/priority_queue.h#newcode59 base/task_scheduler/priority_queue.h:59: void Push(std::unique_ptr<SequenceAndSortKey> sequence_and_sort_key); To document the design expectation, we're ...
4 years, 8 months ago (2016-04-13 17:22:52 UTC) #3
fdoray
https://codereview.chromium.org/1882293004/diff/1/base/task_scheduler/priority_queue.h File base/task_scheduler/priority_queue.h (right): https://codereview.chromium.org/1882293004/diff/1/base/task_scheduler/priority_queue.h#newcode59 base/task_scheduler/priority_queue.h:59: void Push(std::unique_ptr<SequenceAndSortKey> sequence_and_sort_key); On 2016/04/13 17:22:51, robliao wrote: > ...
4 years, 8 months ago (2016-04-13 17:43:34 UTC) #4
danakj
LGTM
4 years, 8 months ago (2016-04-13 18:07:52 UTC) #5
robliao
4 years, 8 months ago (2016-04-13 19:25:43 UTC) #6
robliao
lgtm
4 years, 8 months ago (2016-04-13 20:09:59 UTC) #7
gab
lgtm
4 years, 8 months ago (2016-04-14 15:06:33 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882293004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882293004/20001
4 years, 8 months ago (2016-04-14 15:06:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882293004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882293004/20001
4 years, 8 months ago (2016-04-14 22:10:42 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/51135)
4 years, 8 months ago (2016-04-14 22:23:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882293004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882293004/20001
4 years, 8 months ago (2016-04-14 23:42:19 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-15 00:42:34 UTC) #18
commit-bot: I haz the power
4 years, 8 months ago (2016-04-15 00:45:40 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2ce5469c8f861b74dd6242e0231c2f71d1d9a3c4
Cr-Commit-Position: refs/heads/master@{#387492}

Powered by Google App Engine
This is Rietveld 408576698