Chromium Code Reviews
DescriptionReland 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 #
Messages
Total messages: 13 (6 generated)
|
||||||||||||||||||||||||||||