[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
Thu Oct 13 11:45:01 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=163375
--- Comment #3 from Geoffrey Garen <ggaren at apple.com> ---
I don't think it's practical to do this in a general-purpose way because each unicorn object class, which refuses to share memory with other object classes, linearly increases fragmentation, memory footprint, cache non-locality, TLB misses, and paging.
In my experiments with MallocBench and bmalloc, too much separation between object types introduces significant performance cost, and I invested a lot of effort to avoid that cost.
It might be practical to do this in a special-purpose way, as long as it's only for a small number of object types, and we only request a best-effort separation and not a permanent guaranteed separation.
Phil's fastMallocSeparate API, with best-effort service, is trivial to achieve using bmalloc's "Cache" class as the type for "mySpace", and we could probably service the CodeBlock instruction stream, the render tree, and the DOM tree that way without penalty.
--
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/f87aea48/attachment-0001.html>
More information about the webkit-unassigned
mailing list