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

Issue 2685673005: Use TaskScheduler instead of WorkerPool in BackgroundTaskRunner.cpp (Closed)

Created:
3 years, 10 months ago by fdoray
Modified:
3 years, 10 months ago
Reviewers:
kinuko, haraken
CC:
chromium-reviews, dshwang, ajuma+watch-canvas_chromium.org, blink-reviews-html_chromium.org, Justin Novosad, hongchan, dglazkov+blink, Rik, blink-reviews, kinuko+watch, Raymond Toy
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use TaskScheduler instead of WorkerPool in BackgroundTaskRunner.cpp This CL replaces base::WorkerPool::PostTask() with base::PostTaskWithTraits(). The following traits are used: Priority: Inherited (default) The priority is inherited from the calling context (i.e. TaskTraits are initialized with the priority of the current task). Shutdown behavior: CONTINUE_ON_SHUTDOWN Tasks posted with this mode which have not started executing before shutdown is initiated will never run. Tasks with this mode running at shutdown will be ignored (the worker will not be joined). Note: Tasks that were previously posted to base::WorkerPool should use this shutdown behavior because this is how base::WorkerPool handles all its tasks. *No* May Block (default): Tasks may no block on synchronous file I/O operations or on sync primitives. BUG=659191 Review-Url: https://codereview.chromium.org/2685673005 Cr-Commit-Position: refs/heads/master@{#449633} Committed: https://chromium.googlesource.com/chromium/src/+/99e56574537a8cf27af4c86f34e42fcad65e21c8

Patch Set 1 #

Messages

Total messages: 17 (10 generated)
fdoray
PTAL
3 years, 10 months ago (2017-02-09 16:28:44 UTC) #7
kinuko
lgtm
3 years, 10 months ago (2017-02-09 17:21:16 UTC) #8
fdoray
haraken@chromium.org: Please review changes in third_party/WebKit/Source/modules/webaudio/
3 years, 10 months ago (2017-02-09 17:38:15 UTC) #10
haraken
LGTM
3 years, 10 months ago (2017-02-10 00:20:59 UTC) #11
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/2685673005/1
3 years, 10 months ago (2017-02-10 14:13:52 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/99e56574537a8cf27af4c86f34e42fcad65e21c8
3 years, 10 months ago (2017-02-10 16:42:45 UTC) #16
fdoray
3 years, 8 months ago (2017-04-12 16:43:05 UTC) #17
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2812263003/ by fdoray@chromium.org.

The reason for reverting is: Reverting to see the effect on memory benchmarks.
BUG=691618.

Powered by Google App Engine
This is Rietveld 408576698