v8/test/cctest/heap
Peter Marshall 5d1d079538 [cleanup] Use unique_ptr for MemoryAllocator in Heap
Also drive-by cleanup the TestMemoryAllocatorScope class so that it
takes ownership of the old allocator while it holds onto it, and so
that the MemoryAllocator for testing is constructed inside the scope
rather than passed into it. This means users don't need to explicitly
call TearDown() and delete the allocator as the scope does it for them.

Change-Id: Id7da3c074618a376d2edfe3385bb185ba8287cea
Reviewed-on: https://chromium-review.googlesource.com/c/1392194
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59627}
2019-02-15 11:53:46 +00:00
..
heap-tester.h [heap] Activate the memory reducer on smaller heaps 2019-01-22 11:14:32 +00:00
heap-utils.cc [heap] Replace InNewSpace checks with InYoungGeneration checks 2019-02-12 10:22:51 +00:00
heap-utils.h [heap] Replace InNewSpace checks with InYoungGeneration checks 2019-02-12 10:22:51 +00:00
test-alloc.cc [cleanup] #include heap-inl.h less often 2019-02-15 06:22:53 +00:00
test-array-buffer-tracker.cc [cleanup] Use Page::FromHeapObject where applicable 2019-01-15 01:20:11 +00:00
test-compaction.cc [cleanup] #include heap-inl.h less often 2019-02-15 06:22:53 +00:00
test-concurrent-marking.cc Reland "[heap] Remove bailout marking worklist." 2019-01-18 10:04:17 +00:00
test-embedder-tracing.cc [cleanup] #include heap-inl.h less often 2019-02-15 06:22:53 +00:00
test-external-string-tracker.cc [cleanup] #include heap-inl.h less often 2019-02-15 06:22:53 +00:00
test-heap.cc [cleanup] #include heap-inl.h less often 2019-02-15 06:22:53 +00:00
test-incremental-marking.cc v8: Fix -Wextra-semi warnings, enable warning. 2019-02-13 14:11:28 +00:00
test-invalidated-slots.cc Reland "Change SetProperty/SetSuperProperty to infer language mode when possible" 2019-01-24 16:57:23 +00:00
test-lab.cc [ubsan] Port HeapObject to the new design 2018-12-20 16:43:49 +00:00
test-mark-compact.cc Reland "Change SetProperty/SetSuperProperty to infer language mode when possible" 2019-01-24 16:57:23 +00:00
test-page-promotion.cc [heap] Fix tests for young large objects 2019-02-07 11:01:20 +00:00
test-spaces.cc [cleanup] Use unique_ptr for MemoryAllocator in Heap 2019-02-15 11:53:46 +00:00
test-unmapper.cc [cleanup] Mark heap/ methods in subclasses with override. 2018-09-17 15:32:31 +00:00
test-weak-references.cc [cleanup] #include heap-inl.h less often 2019-02-15 06:22:53 +00:00