[Webkit-unassigned] [Bug 163375] We should consider allocating a CodeBlock's Instruction stream away from other things

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 12 19:26:24 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=163375

--- Comment #1 from Filip Pizlo <fpizlo at apple.com> ---
I wonder if we could add API to bmalloc to do this.  It would force those objects to be allocated from their own size classes.  If they get large, they would be allocated with guard pages around them, automatically.

Something like:

Foo* createFoo()
{
    static SeparateMallocSpace mySpace;
    return static_cast<Foo*>(fastMallocSeparate(mySpace, sizeof(Foo)));
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161013/12e2322d/attachment.html>


More information about the webkit-unassigned mailing list