v8/include/cppgc
Michael Lippautz 3d53d7acad cppgc: Rely on per-heap platform objects
Split platform into a process-global initialization part and per-heap
platform objects.

These platform objects still contain allocators and executors. With
per-heap platforms GetForegroundTaskRunner() returns by definition the
correct runner.

In future, when initialized throuhg V8, an adapter can be used to
translate between the different platforms, avoiding the needed for V8
embedders to provide additional information.

Bug: chromium:1056170
Change-Id: I11bdd15e945687cfbdf38cae4137facb02559e0a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2218030
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Commit-Queue: Anton Bikineev <bikineev@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Reviewed-by: Omer Katz <omerkatz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68059}
2020-05-28 20:29:55 +00:00
..
internal cppgc: Add TraceCallback to GCInfo 2020-05-13 23:53:43 +00:00
allocation.h cppgc: Implement allocation on custom spaces 2020-05-08 07:20:49 +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: Use static_assert to force semi colon after macro 2020-05-13 21:47:48 +00:00
heap.h cppgc: Rely on per-heap platform objects 2020-05-28 20:29:55 +00:00
liveness-broker.h cppgc: Add some more API documentation 2020-05-27 14:09:11 +00:00
macros.h cppgc: Use static_assert to force semi colon after macro 2020-05-13 21:47:48 +00:00
member.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
persistent.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
platform.h cppgc: Rely on per-heap platform objects 2020-05-28 20:29:55 +00:00
prefinalizer.h cppgc: Use static_assert to force semi colon after macro 2020-05-13 21:47:48 +00:00
README.md cppgc: Hello world 2020-03-23 21:42:56 +00:00
source-location.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
trace-trait.h cppgc: Duplicate worklist 2020-04-29 00:28:00 +00:00
type-traits.h cppgc: Make Trace methods const 2020-04-20 13:15:13 +00:00
visitor.h cppgc: Add composite object tracing to Visitor 2020-05-15 21:09:15 +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.