v8/test/cctest/heap
Jakob Kummerow f9a2e24bbc [cleanup] Refactor the Factory
There is no good reason to have the meat of most objects' initialization
logic in heap.cc, all wrapped by the CALL_HEAP_FUNCTION macro. Instead,
this CL changes the protocol between Heap and Factory to be AllocateRaw,
and all object initialization work after (possibly retried) successful
raw allocation happens in the Factory.

This saves about 20KB of binary size on x64.

Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
Change-Id: Icbfdc4266d7be8b48d2fe085f03411743dc6a0ca
Reviewed-on: https://chromium-review.googlesource.com/959533
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Hannes Payer <hpayer@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52416}
2018-04-06 00:23:46 +00:00
..
heap-tester.h [cleanup] Refactor the Factory 2018-04-06 00:23:46 +00:00
heap-utils.cc [cleanup] Refactor the Factory 2018-04-06 00:23:46 +00:00
heap-utils.h [heap] Exclude the owner of the linear allocation area from evacuation. 2016-11-03 12:13:23 +00:00
test-alloc.cc [cleanup] Refactor the Factory 2018-04-06 00:23:46 +00:00
test-array-buffer-tracker.cc Dispose isolate at end of UNINITIALIZED_TEST 2017-10-04 16:21:09 +00:00
test-compaction.cc [cleanup] Refactor the Factory 2018-04-06 00:23:46 +00:00
test-concurrent-marking.cc Reland "Introduce ConcurrentMarking::StopRequest API." 2018-02-19 14:46:44 +00:00
test-embedder-tracing.cc [heap] Increase test coverage for embedder tracing 2017-12-07 14:11:51 +00:00
test-heap.cc [cleanup] Refactor the Factory 2018-04-06 00:23:46 +00:00
test-incremental-marking.cc [V8 Platform] Make CallOnWorkerThread use std::unique_ptr 2018-03-26 17:43:22 +00:00
test-invalidated-slots.cc [cleanup] Refactor the Factory 2018-04-06 00:23:46 +00:00
test-lab.cc [iwyu] Remove stale TODOs about objects-inl.h inclusion. 2017-10-09 11:14:59 +00:00
test-mark-compact.cc [cleanup] Refactor the Factory 2018-04-06 00:23:46 +00:00
test-page-promotion.cc [cleanup] Refactor the Factory 2018-04-06 00:23:46 +00:00
test-spaces.cc [cleanup] Refactor the Factory 2018-04-06 00:23:46 +00:00
test-weak-references.cc [cleanup] Refactor the Factory 2018-04-06 00:23:46 +00:00