v8/test/cctest/heap
Michael Achenbach 503e07c3ef Revert "[cleanup] Refactor the Factory"
This reverts commit f9a2e24bbc.

Reason for revert: gc stress failures not all fixed by follow up.

Original change's description:
> [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}

TBR=jkummerow@chromium.org,yangguo@chromium.org,mstarzinger@chromium.org,hpayer@chromium.org

Change-Id: Idbbc53478742f3e9525eee83342afc6aedae122f
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
Reviewed-on: https://chromium-review.googlesource.com/999414
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52420}
2018-04-06 07:23:19 +00:00
..
heap-tester.h Revert "[cleanup] Refactor the Factory" 2018-04-06 07:23:19 +00:00
heap-utils.cc Revert "[cleanup] Refactor the Factory" 2018-04-06 07:23:19 +00:00
heap-utils.h
test-alloc.cc Revert "[cleanup] Refactor the Factory" 2018-04-06 07:23:19 +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 Revert "[cleanup] Refactor the Factory" 2018-04-06 07:23:19 +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 Revert "[cleanup] Refactor the Factory" 2018-04-06 07:23:19 +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 Revert "[cleanup] Refactor the Factory" 2018-04-06 07:23:19 +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 Revert "[cleanup] Refactor the Factory" 2018-04-06 07:23:19 +00:00
test-page-promotion.cc Revert "[cleanup] Refactor the Factory" 2018-04-06 07:23:19 +00:00
test-spaces.cc Revert "[cleanup] Refactor the Factory" 2018-04-06 07:23:19 +00:00
test-weak-references.cc Revert "[cleanup] Refactor the Factory" 2018-04-06 07:23:19 +00:00