v8/test/unittests/heap/cppgc
Michael Lippautz 822e1bc9ed cppgc: Refactor visitation 1/3
Split off MarkingState from MarkingVisitor.

With this CL the marking implementation is moved to "MarkingState"
which is the new bottleneck for marking a single object.
MarkingVisitor merely forwards to MarkingState, which knows how to set
the markbit and add the object to the worklist accordingly. This
allows to have a "UnifiedHeapMarkingVisitor" in future which can
easily reuse Marking to provide C++ marking.

Change-Id: I87ebbe37e8e8cd841e872cae9dc3490e2b55c4dd
Bug: chromium:1056170
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2270172
Reviewed-by: Omer Katz <omerkatz@chromium.org>
Reviewed-by: Anton Bikineev <bikineev@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68660}
2020-07-02 14:30:39 +00:00
..
concurrent-sweeper-unittest.cc cppgc: Remove -inl.h files 2020-07-01 08:46:26 +00:00
custom-spaces-unittest.cc cppgc: Remove -inl.h files 2020-07-01 08:46:26 +00:00
finalizer-trait-unittest.cc cppgc: Rename unittest files 2020-05-08 08:50:48 +00:00
free-list-unittest.cc cppgc: Rename unittest files 2020-05-08 08:50:48 +00:00
garbage-collected-unittest.cc cppgc: Remove -inl.h files 2020-07-01 08:46:26 +00:00
gc-info-unittest.cc cppgc: Add TraceCallback to GCInfo 2020-05-13 23:53:43 +00:00
gc-invoker-unittest.cc [unittests] Convert to the new MOCK_METHOD macro. 2020-06-10 15:50:38 +00:00
heap-growing-unittest.cc [unittests] Convert to the new MOCK_METHOD macro. 2020-06-10 15:50:38 +00:00
heap-object-header-unittest.cc cppgc: Remove -inl.h files 2020-07-01 08:46:26 +00:00
heap-page-unittest.cc cppgc: Remove -inl.h files 2020-07-01 08:46:26 +00:00
heap-unittest.cc cppgc: Clean up some tests 2020-06-16 10:00:59 +00:00
logging-unittest.cc cppgc: Rename unittest files 2020-05-08 08:50:48 +00:00
marker-unittest.cc cppgc: Remove -inl.h files 2020-07-01 08:46:26 +00:00
marking-visitor-unittest.cc cppgc: Refactor visitation 1/3 2020-07-02 14:30:39 +00:00
member-unittest.cc cppgc: Introduce AllocationHandle 2020-06-10 23:11:20 +00:00
minor-gc-unittest.cc cppgc: Remove -inl.h files 2020-07-01 08:46:26 +00:00
object-start-bitmap-unittest.cc cppgc: Remove -inl.h files 2020-07-01 08:46:26 +00:00
page-memory-unittest.cc cppgc: Remove -inl.h files 2020-07-01 08:46:26 +00:00
persistent-unittest.cc cppgc: Move LivenessBrokerFactory to corresponding file 2020-06-29 16:48:36 +00:00
prefinalizer-unittest.cc cppgc: Remove -inl.h files 2020-07-01 08:46:26 +00:00
run-all-unittests.cc
source-location-unittest.cc cppgc: Rename unittest files 2020-05-08 08:50:48 +00:00
stack-unittest.cc Move stack walking to shared directory 2020-06-22 10:40:56 +00:00
stats-collector-unittest.cc [unittests] Convert to the new MOCK_METHOD macro. 2020-06-10 15:50:38 +00:00
sweeper-unittest.cc cppgc: Remove -inl.h files 2020-07-01 08:46:26 +00:00
test-platform.cc cppgc: Rely on per-heap platform objects 2020-05-28 20:29:55 +00:00
test-platform.h cppgc: Rely on per-heap platform objects 2020-05-28 20:29:55 +00:00
tests.cc cppgc: Introduce HeapBase 2020-06-15 11:03:08 +00:00
tests.h Reland "cppgc: Properly clear (Weak)Peristent and WeakMember pointers" 2020-06-19 08:48:49 +00:00
visitor-unittest.cc cppgc: Move LivenessBrokerFactory to corresponding file 2020-06-29 16:48:36 +00:00
worklist-unittest.cc cppgc: Rename unittest files 2020-05-08 08:50:48 +00:00
write-barrier-unittest.cc cppgc: Remove -inl.h files 2020-07-01 08:46:26 +00:00