Chromium Code Reviews
DescriptionDo not call MemoryCache::prune() when a client/observer is removed
- didRemoveClientOrObserver() can be called during a Oilpan prefinalizer,
so it might be unsafe to call MemoryCache::prune() there.
- As WeakMemoryCache is enabled, Resource is expected to be garbage collected
shortly after all clients/observers are removed, so there is less need for
the pruning.
BUG=644058, 603462
Committed: https://crrev.com/b23d2fc9c472f2b89b1101bdcf38ac13f4756ef7
Cr-Commit-Position: refs/heads/master@{#421768}
Patch Set 1 #Patch Set 2 : Tet fix #
Total comments: 4
Patch Set 3 : Rebase #Patch Set 4 : Remove justReleasedResource #
Messages
Total messages: 19 (10 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||