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

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

Created:
3 years, 6 months ago by fdoray
Modified:
3 years, 6 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/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of Use TaskScheduler instead of WorkerPool in BackgroundTaskRunner.cpp (patchset #4 id:200001 of https://codereview.chromium.org/2812263003/ ) Reason for revert: Relanding the patch set after the effect of reverting it has been analyzed. Original issue's description: > Revert of Use TaskScheduler instead of WorkerPool in BackgroundTaskRunner.cpp (patchset #1 id:1 of https://codereview.chromium.org/2685673005/ ) > > Reason for revert: > Reverting to see the effect on memory benchmarks. > BUG=691618 > > Original issue's 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 > > TBR=kinuko@chromium.org,haraken@chromium.org > # Not skipping CQ checks because original CL landed more than 1 days ago. > BUG=659191 > > Review-Url: https://codereview.chromium.org/2812263003 > Cr-Commit-Position: refs/heads/master@{#464121} > Committed: https://chromium.googlesource.com/chromium/src/+/24e5d1ddee9fa61587b6f0279a25792d0208b9f1 TBR=kinuko@chromium.org,haraken@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=691618 Review-Url: https://codereview.chromium.org/2914633002 Cr-Commit-Position: refs/heads/master@{#475582} Committed: https://chromium.googlesource.com/chromium/src/+/f23174882c11f77a5b58cf37ab4051a2ad68a4bf

Patch Set 1 #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M third_party/WebKit/Source/platform/threading/BackgroundTaskRunner.cpp View 1 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/threading/DEPS View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 13 (6 generated)
fdoray
Created Reland of Use TaskScheduler instead of WorkerPool in BackgroundTaskRunner.cpp
3 years, 6 months ago (2017-05-30 14:26:27 UTC) #2
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/2914633002/1
3 years, 6 months ago (2017-05-30 14:26:36 UTC) #3
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_tsan_rel_ng/builds/85254)
3 years, 6 months ago (2017-05-30 14:36:24 UTC) #5
haraken
LGTM % you'll need to fix the compile error.
3 years, 6 months ago (2017-05-30 14:53:40 UTC) #6
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/2914633002/70001
3 years, 6 months ago (2017-05-30 15:39:49 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:70001) as https://chromium.googlesource.com/chromium/src/+/f23174882c11f77a5b58cf37ab4051a2ad68a4bf
3 years, 6 months ago (2017-05-30 17:38:19 UTC) #12
kinuko
3 years, 6 months ago (2017-05-31 03:06:30 UTC) #13
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698