DescriptionPartitionAlloc: wait just a little while before actually freeing empty pages.
We hold a small ring-list cache of recently-emptied pages, and only free the
oldest entry in the ring list when the cache is full. This makes us hold on to
a little bit of unused memory, but in return we do now eventually free the last
slot span in any given bucket, which would have been held indefinitely before.
This patch is a sufficient generic replacement for the bandaid added in
https://code.google.com/p/chromium/issues/detail?id=330798; accordingly, the
bandaid is removed. In fact, we now seem to be +4% faster than _before_ the
original regression.
BUG=332282
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165112
Patch Set 1 #
Total comments: 1
Patch Set 2 : Review. #
Total comments: 3
Patch Set 3 : Review. #Patch Set 4 : Review. #
Messages
Total messages: 8 (0 generated)
|