DescriptionEvict resources from resource pool after timeout
This change adds a one second expiration to all resources in a
ResourcePool. Resource that have not been used within the
expiration period are deleted.
This eviction compliments (but doesn't replace) the hard-limit
based eviction that already occurs. We rely on freeing resources
to our hard-limits in TileManager, so we don't want to replace
that logic with something less deterministic.
BUG=520734, 224475
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/289d1f6ba870b30cbf4a19d114b2ee4fc23f893f
Cr-Commit-Position: refs/heads/master@{#345396}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #
Total comments: 16
Patch Set 5 : review feedback + unit tests #Patch Set 6 : Remove kMaxUnusedResourceMemoryUsagePercentage #Patch Set 7 : Remove no longer needed "acquired_memory_usage" fns #
Total comments: 1
Patch Set 8 : Rebase #Patch Set 9 : Fix unit test #
Messages
Total messages: 17 (6 generated)
|