Please revert the comment about the size alignment. It was correct. See call chain: AllocateLargePage -> AllocateChunk -> AllocateAlignedMemory -> VirtualMemory.
AllocateAlignedMemory does not align size, only start address. VirtualMemory takes care about size alignment according to OS granularity. Aligning all large pages' size to 1mb would be wastefull -- Vyacheslav Egorov Sent from my pocket alarm clock. On Nov 11, 2011 10:23 AM, <[email protected]> wrote: > LGTM! > > http://codereview.chromium.**org/8536009/<http://codereview.chromium.org/8536009/> > -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
