Oilpan: attempt first-fit freelist allocation for backing heaps.

When not being able to bump allocate a vector/hash table's backing storage,
try to reuse an entry from the corresponding sized bin, picking the first.

Should that fail, fall into allocating the largest chunk available.

This freelist allocation scheme has some merit on
shadow_dom:LargeDistributionWithoutLayout, improving Linux performance
by 27%.

R=haraken
BUG=420515

Review URL: https://codereview.chromium.org/798293002

git-svn-id: svn://svn.chromium.org/blink/trunk@187243 bbb929c8-8fbe-4397-9dbb-9b2b20218538
2 files changed
tree: 5df49a8722ccaba2f9ec009822d8840e0e13c199
  1. third_party/