v8/test/unittests/zone
Ross McIlroy b90a20b2c7 Add RecyclingZoneAllocator for ZoneDeque.
A std::deque interacts badly with zone memory in that it allocates chunks
of memory for the back of the queue and frees memory from the front of the
queue. As such we never reuse zone memory for the queue. Implement a very
simple RecyclingZoneAllocator which keeps a single block of memory from
deallocation that can be reused on allocation.

Also clean up zone-allocator a bit and make it use proper Chromium coding
style.

BUG=chromium:700364

Change-Id: I19330a8a9ec6d75fe18d8168d41f1a12030a6c4d
Reviewed-on: https://chromium-review.googlesource.com/458916
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#44154}
2017-03-27 15:10:42 +00:00
..
segmentpool-unittest.cc
zone-allocator-unittest.cc Add RecyclingZoneAllocator for ZoneDeque. 2017-03-27 15:10:42 +00:00
zone-chunk-list-unittest.cc [compiler] Collect eager inner functions for compilation during renumbering. 2017-01-11 12:18:48 +00:00
zone-unittest.cc Ensure we align zone memory at 8 byte boundaries on all platforms 2017-02-06 11:14:56 +00:00