v8/test/unittests/heap/cppgc
Michael Lippautz 0fe9c8358a cppgc: Add explicit FreeUnreferencedObject() call
Add an explicit FreeUnreferencedObject() call that can be used to
reclaim objects that are guaranteed to not be referenced anymore
by the embedder. It is up to the embedder to ensure correctness.

Change-Id: I7f2d86d9639e8b805f79a8fd0a346903f63171e5
Bug: chromium:1056170
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2737301
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: Omer Katz <omerkatz@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73262}
2021-03-08 13:03:03 +00:00
..
compactor-unittest.cc Reland "cppgc: Use tracing scopes" 2020-11-20 09:53:23 +00:00
concurrent-marking-unittest.cc cppgc-js: Avoid using marked bytes deadline during the atomic pause 2021-02-09 21:38:51 +00:00
concurrent-sweeper-unittest.cc cppgc: Cleanups around testing 2021-03-05 17:04:19 +00:00
cross-thread-persistent-unittest.cc Migrate CrossThreadPersistent 2020-10-09 14:33:57 +00:00
custom-spaces-unittest.cc cppgc: Mark custom spaces as compactable 2020-10-06 14:59:22 +00:00
ephemeron-pair-unittest.cc cppgc: Rework Visitor ephemeron handling 2021-03-04 11:30:36 +00:00
explicit-management-unittest.cc cppgc: Add explicit FreeUnreferencedObject() call 2021-03-08 13:03:03 +00:00
finalizer-trait-unittest.cc cppgc: Rename unittest files 2020-05-08 08:50:48 +00:00
free-list-unittest.cc cppgc: Cleanups around testing 2021-03-05 17:04:19 +00:00
garbage-collected-unittest.cc cppgc: Fix GC traits and add documentation 2021-01-22 20:27:09 +00:00
gc-info-unittest.cc cppgc: Collect heap statistics 2021-02-11 14:58:06 +00:00
gc-invoker-unittest.cc cppgc: Add tracing scopes 2020-11-19 15:48:17 +00:00
heap-growing-unittest.cc cppgc: Remove StatsCollector dependency on HeapBase 2021-02-15 17:16:35 +00:00
heap-object-header-unittest.cc cppgc: Add explicit FreeUnreferencedObject() call 2021-03-08 13:03:03 +00:00
heap-page-unittest.cc cppgc: Cleanups around testing 2021-03-05 17:04:19 +00:00
heap-statistics-collector-unittest.cc cppgc: Rename allocated_size to physical_size in statistics 2021-02-11 17:44:35 +00:00
heap-unittest.cc cppgc: Add getters internal heap state 2021-01-29 13:19:23 +00:00
incremental-marking-schedule-unittest.cc cppgc: Fix reporting of marked bytes in the atomic pause 2021-02-18 21:52:14 +00:00
logging-unittest.cc cppgc: Rename unittest files 2020-05-08 08:50:48 +00:00
marker-unittest.cc cppgc: Avoid dispatching write barrier during atomic pause 2021-02-08 12:56:09 +00:00
marking-verifier-unittest.cc cppgc: Allow MarkingVerifier to be specialized for unified heap 2020-10-21 12:58:49 +00:00
marking-visitor-unittest.cc cppgc: Support weak containers 2020-10-22 14:01:04 +00:00
member-unittest.cc cppgc: Add support for const T in Member and friends 2021-01-14 09:10:25 +00:00
metric-recorder-unittest.cc cppgc: Remove StatsCollector dependency on HeapBase 2021-02-15 17:16:35 +00:00
minor-gc-unittest.cc cppgc-js: Report C++ memory to V8's heap growing 2021-01-27 00:32:05 +00:00
name-trait-unittest.cc cppgc: Add naming infrastructure 2020-10-08 12:25:21 +00:00
object-size-trait-unittest.cc cppgc: Introduce ObjectSizeTrait 2021-01-22 20:53:55 +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][unittests] Only expect guard pages support on 4k platforms. 2020-10-20 16:54:38 +00:00
persistent-family-unittest.cc cppgc: Add Persistent capabilitites 2021-02-02 00:25:22 +00:00
prefinalizer-unittest.cc cppgc: Avoid dispatching write barrier during atomic pause 2021-02-08 12:56:09 +00:00
run-all-unittests.cc cppgc: Avoid initializing cppgc platform through V8 2021-02-09 08:26:11 +00:00
source-location-unittest.cc cppgc: Rename unittest files 2020-05-08 08:50:48 +00:00
stack-unittest.cc Disable GCStackTest.IteratePointersFindsParameterNesting8 for MSVC 2020-10-02 09:08:46 +00:00
stats-collector-scopes-unittest.cc cppgc: Remove StatsCollector dependency on HeapBase 2021-02-15 17:16:35 +00:00
stats-collector-unittest.cc cppgc: Implement process-global state accessors. 2021-02-17 22:37:24 +00:00
sweeper-unittest.cc cppgc: Cleanups around testing 2021-03-05 17:04:19 +00:00
test-platform.cc cppgc: Add tracing scopes 2020-11-19 15:48:17 +00:00
test-platform.h [config] Add V8_NODISCARD for Scope classes 2020-11-26 11:08:45 +00:00
testing-unittest.cc cppgc: Remove explit setter to enable testing features 2021-02-11 17:23:02 +00:00
tests.cc cppgc: Avoid initializing cppgc platform through V8 2021-02-09 08:26:11 +00:00
tests.h cppgc: Cleanups around testing 2021-03-05 17:04:19 +00:00
visitor-unittest.cc cppgc: Use object start bitmap to trace mixins 2020-07-10 12:00:45 +00:00
weak-container-unittest.cc cppgc: Expose write barriers 2020-11-24 17:41:11 +00:00
write-barrier-unittest.cc cppgc: Implement process-global state accessors. 2021-02-17 22:37:24 +00:00