Descriptionbase: Add free list implementation to browser-wide discardable memory system.
This adds a free list to the browser-wide discardable memory
manager in child processes. This reduces the number of open
file descriptors and improves performance significantly by
avoiding a lot of browser process round-trips.
Address-ordered best-fit policy is currently used as it is more
likely to result in fewer locked segments but the policy can
easily be adjusted if needed.
BUG=429415
TEST=content_unittests --gtest_filter=DiscardableSharedMemoryHeapTest.*
Committed: https://crrev.com/94ff17c7b04f1e3abfb33c91a2e8ebb70b6882ca
Cr-Commit-Position: refs/heads/master@{#309595}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : ready for review #Patch Set 4 : add comment #
Total comments: 4
Patch Set 5 : rebase #
Total comments: 4
Patch Set 6 : win build fix #Patch Set 7 : fix nits #
Total comments: 8
Patch Set 8 : address review feedback #
Total comments: 2
Patch Set 9 : rebase #Messages
Total messages: 24 (7 generated)
|