Currently it uses WTF::BlockStack, which is malloc-ed memory. Let's use the BlockAllocator. By doing this we can also get rid of the pointer to the HandleSet from each Handle, making them 24 bytes rather than 32 bytes. This change will also enable us to return HandleBlocks back to the OS and reduce the fragmentation of Handles in a future patch.
Created attachment 194731 [details] Patch
Comment on attachment 194731 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=194731&action=review r=me > Source/JavaScriptCore/heap/HandleBlockInlines.h:53 > + return reinterpret_cast<char*>(this) + ((sizeof(HandleBlock) + 7) & ~7); Let's use roundUpToMultipleOf<sizeof(double)>() here, to make it a little less mysterious.
Committed r146734: <http://trac.webkit.org/changeset/146734>