v8/include/cppgc
Michael Lippautz 3a50eae048 api: Add JSVisitor and JSMember reference
- Adds JSVisitor that is used for unified heap marking.
- Adds JSMember as supported reference type that also encapsulates a
  write barrier in future. JSMember is a replacement for
  TracedReference which can be deprecated with EmbedderHeapTracer once
  the library is used to handle unified heap collections.

The dispatch for v8::JSMember on cppgc::Visitor is provided through a
specialization of TraceTrait.

Bug: chromium:1056170
Change-Id: I60d976ae66db3e5fa2e690a21627bdcb8c6871af
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2284488
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Reviewed-by: Anton Bikineev <bikineev@chromium.org>
Reviewed-by: Omer Katz <omerkatz@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68716}
2020-07-07 13:48:31 +00:00
..
internal Reland "cppgc: Properly clear (Weak)Peristent and WeakMember pointers" 2020-06-19 08:48:49 +00:00
allocation.h cppgc: Remove NOLINT(runtime/references) 2020-06-22 10:08:55 +00:00
common.h heap,cppgc: Update StackState enum values 2020-05-12 12:07:27 +00:00
custom-space.h cppgc: Allocation cleanups 2020-05-11 15:50:28 +00:00
DEPS cppgc: Add public target to build against 2020-04-21 12:48:23 +00:00
garbage-collected.h cppgc: Various cleanups 2020-07-03 20:42:48 +00:00
heap.h cppgc: Various trivial fixes 2020-06-15 18:25:51 +00:00
liveness-broker.h Reland "cppgc: Properly clear (Weak)Peristent and WeakMember pointers" 2020-06-19 08:48:49 +00:00
macros.h cppgc: Add initial implementation of young generation 2020-06-17 06:48:10 +00:00
member.h Reland "cppgc: Properly clear (Weak)Peristent and WeakMember pointers" 2020-06-19 08:48:49 +00:00
persistent.h Reland "cppgc: Properly clear (Weak)Peristent and WeakMember pointers" 2020-06-19 08:48:49 +00:00
platform.h cppgc: Add basic heap growing strategy 2020-06-08 17:55:53 +00:00
prefinalizer.h cppgc: Rework pre-finalizer registration 2020-06-11 20:12:21 +00:00
README.md cppgc: Hello world 2020-03-23 21:42:56 +00:00
source-location.h cppgc: Adds docs to SourceLocation 2020-06-08 18:31:36 +00:00
trace-trait.h cppgc: Another round of API docs 2020-06-08 13:06:22 +00:00
type-traits.h cppgc: Make Trace methods const 2020-04-20 13:15:13 +00:00
visitor.h api: Add JSVisitor and JSMember reference 2020-07-07 13:48:31 +00:00

C++ Garbage Collection

This directory provides an open-source garbage collection library for C++.

The library is under construction, meaning that all APIs in this directory are incomplete and considered unstable and should not be used.