Chromium Code Reviews
DescriptionIdle cleanup for worker context
Currently, Skia flushes unused items out of its caches after ~1 second
of non-use (50 flushes). This works fine while Skia is in-use, but when
a worker context goes idle we stop calling into Skia altogether. This
means that Skia will never flush out unused cache items from the last
piece of work it did. This can lead to some rather large temporaries
being kept around (~20mb).
This change adds an idle cleanup process which flushes Skia's caches
and cleans up worker context resources after a worker context is idle
for 1 second.
BUG=624630
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel;master.tryserver.blink:linux_precise_blink_dbg
Committed: https://crrev.com/051ae83bf29b52cefd82235ebfb90f203912afbb
Review-Url: https://codereview.chromium.org/2353033003
Cr-Original-Commit-Position: refs/heads/master@{#420496}
Cr-Commit-Position: refs/heads/master@{#421092}
(cherry picked from commit 6714c23b526197220d8b9abdbd38b6d9c206d912)
Committed: https://chromium.googlesource.com/chromium/src/+/afec5ef67b207063bfbff5a5768b95b327393026
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||