[webkit-dev] bmalloc design question about relation with std malloc

Yusuke SUZUKI utatane.tea at gmail.com
Mon Apr 30 03:35:19 PDT 2018

Hi, WebKittens,

IIRC, bmalloc uses mmap based page allocator for internal memory use. For
example, bmalloc::Vector uses it instead of calling malloc.
But recent changes start using std::vector, which means it uses std malloc
under the hood.

So my question is, if we want some internal memory allocation in bmalloc,
shoud we use std::malloc? Or should we use mmap based allocator?

Best regards,
Yusuke Suzuki
Yusuke Suzuki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20180430/db830642/attachment.html>

More information about the webkit-dev mailing list