v8/test/unittests/heap/cppgc
Anton Bikineev 22f80fc176 cppgc: Introduce heap object structure classes
This adds the following:
1) Heap object structure classes: RawHeap, BaseArena and BasePage.
   - freelist
   - linear allocation block
2) ObjectAllocator, a class responsible for object (and page) allocation.

The design doc with UML design: https://bit.ly/2VVTcqc

User defined arenas are followup.

Bug: chromium:1056170
Change-Id: I69a82974bd08e3cf3da90041b1628297cc890891
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2167392
Commit-Queue: Anton Bikineev <bikineev@chromium.org>
Reviewed-by: Omer Katz <omerkatz@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#67425}
2020-04-28 10:21:11 +00:00
..
finalizer-trait_unittest.cc cppgc: Move implementation headers in internal/ dir 2020-04-08 07:39:40 +00:00
free-list_unittest.cc cppgc: Introduce heap object structure classes 2020-04-28 10:21:11 +00:00
garbage-collected_unittest.cc cppgc: Make Trace methods const 2020-04-20 13:15:13 +00:00
gc-info_unittest.cc cppgc: Move implementation headers in internal/ dir 2020-04-08 07:39:40 +00:00
heap_unittest.cc cppgc: Remove conservative stack scan guard 2020-04-17 12:37:16 +00:00
heap-object-header_unittest.cc cppgc: Fix compilation of death tests on iOS 2020-03-30 19:11:26 +00:00
heap-page_unittest.cc cppgc: Introduce heap object structure classes 2020-04-28 10:21:11 +00:00
logging_unittest.cc cppgc: Add simple check/dcheck facilities 2020-04-14 16:37:42 +00:00
member_unittests.cc cppgc: Make Trace methods const 2020-04-20 13:15:13 +00:00
page-memory_unittest.cc expect PlatformUsesGuardPages to return true on AIX 2020-04-14 20:26:42 +00:00
persistent_unittests.cc cppgc: Make Trace methods const 2020-04-20 13:15:13 +00:00
prefinalizer_unittests.cc cppgc: Make Trace methods const 2020-04-20 13:15:13 +00:00
run-all-unittests.cc cppgc: Hello world 2020-03-23 21:42:56 +00:00
source-location_unittest.cc cppgc: Add SourceLocation class 2020-04-03 02:00:23 +00:00
stack_unittest.cc cppgc: Remove conservative stack scan guard 2020-04-17 12:37:16 +00:00
tests.cc cppgc: Make tests use idiomatic allocation 2020-04-08 06:56:20 +00:00
tests.h cppgc: Add support for prefinalizers 2020-04-14 16:03:15 +00:00
visitor_unittest.cc cppgc: Make Trace methods const 2020-04-20 13:15:13 +00:00