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

Issue 2189573002: Fix TimeDomain::MigrateQueue with incoming immediate tasks (Closed)

Created:
4 years, 4 months ago by alex clarke (OOO till 29th)
Modified:
4 years, 4 months ago
Reviewers:
Sami
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

Fix TimeDomain::MigrateQueue with incoming immediate tasks There's a bug with TimeDomain::MigrateQueue, it should add the TaskQueue to the destination_time_domain's updatable_queue_set_ if the queue was updatable. Not doing so runs the risk of incoming tasks never running, unless a subsequent immediate task is posted to the queue. Note to Perf sheriffs. I'm not expecting any regressions with this patch, but it's possible some tasks that were previously not running are running now. If that causes a regression it's working as intended. BUG=631941, 546953 Committed: https://crrev.com/fada7593e93c5a07ec3cbbb5cee01eaf78d421cf Cr-Commit-Position: refs/heads/master@{#408098}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -5 lines) Patch
M components/scheduler/base/task_queue_manager_unittest.cc View 1 1 chunk +25 lines, -0 lines 0 comments Download
M components/scheduler/base/time_domain.h View 1 chunk +2 lines, -2 lines 0 comments Download
M components/scheduler/base/time_domain.cc View 1 3 chunks +9 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
alex clarke (OOO till 29th)
4 years, 4 months ago (2016-07-27 09:52:48 UTC) #3
Sami
lgtm, thanks for the fix. Btw you probably meant "updatable" instead "migratable" in the patch ...
4 years, 4 months ago (2016-07-27 09:57:56 UTC) #5
alex clarke (OOO till 29th)
All done https://codereview.chromium.org/2189573002/diff/1/components/scheduler/base/task_queue_manager_unittest.cc File components/scheduler/base/task_queue_manager_unittest.cc (right): https://codereview.chromium.org/2189573002/diff/1/components/scheduler/base/task_queue_manager_unittest.cc#newcode1630 components/scheduler/base/task_queue_manager_unittest.cc:1630: TEST_F(TaskQueueManagerTest, TimeDomainMigrationWithIncommingImmediateTasks) { On 2016/07/27 09:57:56, Sami ...
4 years, 4 months ago (2016-07-27 10:14:56 UTC) #8
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/2189573002/20001
4 years, 4 months ago (2016-07-27 10:15:21 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-07-27 12:09:17 UTC) #13
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 12:11:19 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fada7593e93c5a07ec3cbbb5cee01eaf78d421cf
Cr-Commit-Position: refs/heads/master@{#408098}

Powered by Google App Engine
This is Rietveld 408576698