bmalloc uses 8X more virtual memory than necessary
Created attachment 241163 [details] Patch
Comment on attachment 241163 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=241163&action=review > Source/bmalloc/bmalloc/VMAllocate.h:96 > + char* aligned = mask(mapped, ~vmAlignmentMask) + vmAlignment; I think this should be: char* aligned = mask(mapped + vmAlignment, ~vmAlignmentMask); i.e. the same algorithm as roundUpToMultipleOf().
> i.e. the same algorithm as roundUpToMultipleOf(). Good idea. I'll just use roundUpToMultipleOf directly.
Created attachment 241189 [details] Patch
Comment on attachment 241189 [details] Patch r=me
Committed r175751: <http://trac.webkit.org/changeset/175751>