[webkit-reviews] review granted: [Bug 108410] Vector should consult allocator about ideal size when choosing capacity. : [Attachment 186239] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 2 16:55:49 PST 2013


Benjamin Poulain <benjamin at webkit.org> has granted Andreas Kling
<akling at apple.com>'s request for review:
Bug 108410: Vector should consult allocator about ideal size when choosing
capacity.
https://bugs.webkit.org/show_bug.cgi?id=108410

Attachment 186239: Patch
https://bugs.webkit.org/attachment.cgi?id=186239&action=review

------- Additional Comments from Benjamin Poulain <benjamin at webkit.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=186239&action=review


> Source/WTF/wtf/FastMalloc.cpp:2574
> +    if (!phinited)
> +	   TCMalloc_ThreadCache::InitModule();
> +    return AllocationSize(bytes);
> +}

Any reason we couldn't generate class_to_size and class_to_pages  at compile
time?


More information about the webkit-reviews mailing list