DescriptionGet rid of fastMallocGoodSize() and replace it with something generic.
- fastMallocGoodSize() was Mac-specific and it looks relatively slow and
non-inlineable. The replacement is based around a single lookup into a small
table.
- We now have allocation quantization on all platforms for Vector. I've
verified that many Vector instantiations are able to recover previously-wasted
memory as real element capacity. See bug for details.
- The quantization is also immediately suitable for use with the Partition
allocator, to avoid fragmentation due to excessive numbers of buckets. To be
followed up in a future patch series.
BUG=286477
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157524
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157555
Patch Set 1 #Patch Set 2 : Fix compile error. #
Total comments: 4
Patch Set 3 : Review actions and rebased. #Patch Set 4 : For try. #Patch Set 5 : Add missed WTF_EXPORT. #
Messages
Total messages: 9 (0 generated)
|