DescriptionSuspend more task queues for background renderers (experimental)
Backgrounded-tab suspending was introduced at crrev/1914143002, where
only the timer task queue was suspended. We knew this was not enough and
we need to suspend more task queues to prevent the return of purged
cache.
This CL adds the feature to suspend these task queues besides timer task
queues when backgrounded-tab suspending starts:
* default_loading_tq
* frame_loading_tq
The above task queues might call V8 functions, which means any purged cache
can be reverted.
This CL doesn't suspend "default_tq" (which we can't suspend since this
conveys critial tasks) and "idle_tq" (which I think is not harmful for
purged caches), "control_(after_wakeup_)tq" (which is only for internal
scheduler housekeeping tasks) and "compositor_tq" (which is not used when
the renderer is backgrounded).
BUG=607077
TEST=n/a
Committed: https://crrev.com/e9897950a1574e0842dc86e0c50e6695773edf41
Cr-Commit-Position: refs/heads/master@{#397990}
Patch Set 1 : #
Total comments: 2
Patch Set 2 : Address Sami's review #
Total comments: 2
Patch Set 3 : Address on Sami's review #Patch Set 4 : Fix tests #Patch Set 5 : Rebasing #
Depends on Patchset: Messages
Total messages: 21 (7 generated)
|