[cppgc] Rename src/heap/cppgc/ to src/heap/cppgc-internal/
Rename the internal cppgc directory to src/heap/cppgc-internal/ to clearly distinguish it from the public include/cppgc/ headers and avoid potential naming confusion. The collision occurs on Windows builds where -Wmicrosoft-include is enabled by Clang in MSVC compatible mode. MSVC on Windows uses different order of directories where the files are searched by the compiler and `#include "cppgc/blah.h"` in public headers might end up including "src/heap/cppgc/blah.h" if it exists. All internal #include paths, include guards, and build configurations (BUILD.gn and BUILD.bazel) have been updated to reflect the new path. TAG=agy CONV=47b06028-d652-41a8-b4f1-39e3cc478096 Bug: 515252150 Change-Id: Idf7ca1d193a8b6bb9d53b22f01320f4363df36f4 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7963663 Commit-Queue: Igor Sheludko <ishell@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Auto-Submit: Igor Sheludko <ishell@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> SLSA-Policy-Verified: SLSA Policy Verification Service <devtools-gerritcodereview-exitgate@google.com> Cr-Commit-Position: refs/heads/main@{#108143}
This commit is contained in:
1 parent
55800c9a95
commit
e74e6c524c
160 files changed
+813
-818
No files matched your search
+91
-91
@@ -4035,97 +4035,97 @@ filegroup(
|
||||
filegroup(
|
||||
name = "cppgc_base_files",
|
||||
srcs = [
|
||||
"src/heap/cppgc/allocation.cc",
|
||||
"src/heap/cppgc/caged-heap.h",
|
||||
"src/heap/cppgc/compaction-worklists.cc",
|
||||
"src/heap/cppgc/compaction-worklists.h",
|
||||
"src/heap/cppgc/compactor.cc",
|
||||
"src/heap/cppgc/compactor.h",
|
||||
"src/heap/cppgc/concurrent-marker.cc",
|
||||
"src/heap/cppgc/concurrent-marker.h",
|
||||
"src/heap/cppgc/explicit-management.cc",
|
||||
"src/heap/cppgc/free-list.cc",
|
||||
"src/heap/cppgc/free-list.h",
|
||||
"src/heap/cppgc/garbage-collector.h",
|
||||
"src/heap/cppgc/gc-info.cc",
|
||||
"src/heap/cppgc/gc-info-table.cc",
|
||||
"src/heap/cppgc/gc-info-table.h",
|
||||
"src/heap/cppgc/gc-invoker.cc",
|
||||
"src/heap/cppgc/gc-invoker.h",
|
||||
"src/heap/cppgc/globals.h",
|
||||
"src/heap/cppgc/heap.cc",
|
||||
"src/heap/cppgc/heap.h",
|
||||
"src/heap/cppgc/heap-base.cc",
|
||||
"src/heap/cppgc/heap-base.h",
|
||||
"src/heap/cppgc/heap-config.h",
|
||||
"src/heap/cppgc/heap-consistency.cc",
|
||||
"src/heap/cppgc/heap-growing.cc",
|
||||
"src/heap/cppgc/heap-growing.h",
|
||||
"src/heap/cppgc/heap-object-header.cc",
|
||||
"src/heap/cppgc/heap-object-header.h",
|
||||
"src/heap/cppgc/heap-page.cc",
|
||||
"src/heap/cppgc/heap-page.h",
|
||||
"src/heap/cppgc/heap-space.cc",
|
||||
"src/heap/cppgc/heap-space.h",
|
||||
"src/heap/cppgc/heap-state.cc",
|
||||
"src/heap/cppgc/heap-statistics-collector.cc",
|
||||
"src/heap/cppgc/heap-statistics-collector.h",
|
||||
"src/heap/cppgc/heap-visitor.h",
|
||||
"src/heap/cppgc/liveness-broker.cc",
|
||||
"src/heap/cppgc/liveness-broker.h",
|
||||
"src/heap/cppgc/logging.cc",
|
||||
"src/heap/cppgc/marker.cc",
|
||||
"src/heap/cppgc/marker.h",
|
||||
"src/heap/cppgc/marking-state.cc",
|
||||
"src/heap/cppgc/marking-state.h",
|
||||
"src/heap/cppgc/marking-verifier.cc",
|
||||
"src/heap/cppgc/marking-verifier.h",
|
||||
"src/heap/cppgc/marking-visitor.cc",
|
||||
"src/heap/cppgc/marking-visitor.h",
|
||||
"src/heap/cppgc/marking-worklists.cc",
|
||||
"src/heap/cppgc/marking-worklists.h",
|
||||
"src/heap/cppgc/member-storage.cc",
|
||||
"src/heap/cppgc/member-storage.h",
|
||||
"src/heap/cppgc/memory.cc",
|
||||
"src/heap/cppgc/memory.h",
|
||||
"src/heap/cppgc/metric-recorder.h",
|
||||
"src/heap/cppgc/name-trait.cc",
|
||||
"src/heap/cppgc/object-allocator.cc",
|
||||
"src/heap/cppgc/object-allocator.h",
|
||||
"src/heap/cppgc/object-poisoner.h",
|
||||
"src/heap/cppgc/object-size-trait.cc",
|
||||
"src/heap/cppgc/object-start-bitmap.h",
|
||||
"src/heap/cppgc/object-view.h",
|
||||
"src/heap/cppgc/page-memory.cc",
|
||||
"src/heap/cppgc/page-memory.h",
|
||||
"src/heap/cppgc/persistent-node.cc",
|
||||
"src/heap/cppgc/platform.cc",
|
||||
"src/heap/cppgc/platform.h",
|
||||
"src/heap/cppgc/pointer-policies.cc",
|
||||
"src/heap/cppgc/prefinalizer-handler.cc",
|
||||
"src/heap/cppgc/prefinalizer-handler.h",
|
||||
"src/heap/cppgc/process-heap.cc",
|
||||
"src/heap/cppgc/process-heap.h",
|
||||
"src/heap/cppgc/process-heap-statistics.cc",
|
||||
"src/heap/cppgc/process-heap-statistics.h",
|
||||
"src/heap/cppgc/raw-heap.cc",
|
||||
"src/heap/cppgc/raw-heap.h",
|
||||
"src/heap/cppgc/remembered-set.cc",
|
||||
"src/heap/cppgc/remembered-set.h",
|
||||
"src/heap/cppgc/stats-collector.cc",
|
||||
"src/heap/cppgc/stats-collector.h",
|
||||
"src/heap/cppgc/sweeper.cc",
|
||||
"src/heap/cppgc/sweeper.h",
|
||||
"src/heap/cppgc/task-handle.h",
|
||||
"src/heap/cppgc/trace-event.h",
|
||||
"src/heap/cppgc/trace-trait.cc",
|
||||
"src/heap/cppgc/unmarker.h",
|
||||
"src/heap/cppgc/virtual-memory.cc",
|
||||
"src/heap/cppgc/virtual-memory.h",
|
||||
"src/heap/cppgc/visitor.cc",
|
||||
"src/heap/cppgc/visitor.h",
|
||||
"src/heap/cppgc/write-barrier.cc",
|
||||
"src/heap/cppgc/write-barrier.h",
|
||||
"src/heap/cppgc-internal/allocation.cc",
|
||||
"src/heap/cppgc-internal/caged-heap.h",
|
||||
"src/heap/cppgc-internal/compaction-worklists.cc",
|
||||
"src/heap/cppgc-internal/compaction-worklists.h",
|
||||
"src/heap/cppgc-internal/compactor.cc",
|
||||
"src/heap/cppgc-internal/compactor.h",
|
||||
"src/heap/cppgc-internal/concurrent-marker.cc",
|
||||
"src/heap/cppgc-internal/concurrent-marker.h",
|
||||
"src/heap/cppgc-internal/explicit-management.cc",
|
||||
"src/heap/cppgc-internal/free-list.cc",
|
||||
"src/heap/cppgc-internal/free-list.h",
|
||||
"src/heap/cppgc-internal/garbage-collector.h",
|
||||
"src/heap/cppgc-internal/gc-info.cc",
|
||||
"src/heap/cppgc-internal/gc-info-table.cc",
|
||||
"src/heap/cppgc-internal/gc-info-table.h",
|
||||
"src/heap/cppgc-internal/gc-invoker.cc",
|
||||
"src/heap/cppgc-internal/gc-invoker.h",
|
||||
"src/heap/cppgc-internal/globals.h",
|
||||
"src/heap/cppgc-internal/heap.cc",
|
||||
"src/heap/cppgc-internal/heap.h",
|
||||
"src/heap/cppgc-internal/heap-base.cc",
|
||||
"src/heap/cppgc-internal/heap-base.h",
|
||||
"src/heap/cppgc-internal/heap-config.h",
|
||||
"src/heap/cppgc-internal/heap-consistency.cc",
|
||||
"src/heap/cppgc-internal/heap-growing.cc",
|
||||
"src/heap/cppgc-internal/heap-growing.h",
|
||||
"src/heap/cppgc-internal/heap-object-header.cc",
|
||||
"src/heap/cppgc-internal/heap-object-header.h",
|
||||
"src/heap/cppgc-internal/heap-page.cc",
|
||||
"src/heap/cppgc-internal/heap-page.h",
|
||||
"src/heap/cppgc-internal/heap-space.cc",
|
||||
"src/heap/cppgc-internal/heap-space.h",
|
||||
"src/heap/cppgc-internal/heap-state.cc",
|
||||
"src/heap/cppgc-internal/heap-statistics-collector.cc",
|
||||
"src/heap/cppgc-internal/heap-statistics-collector.h",
|
||||
"src/heap/cppgc-internal/heap-visitor.h",
|
||||
"src/heap/cppgc-internal/liveness-broker.cc",
|
||||
"src/heap/cppgc-internal/liveness-broker.h",
|
||||
"src/heap/cppgc-internal/logging.cc",
|
||||
"src/heap/cppgc-internal/marker.cc",
|
||||
"src/heap/cppgc-internal/marker.h",
|
||||
"src/heap/cppgc-internal/marking-state.cc",
|
||||
"src/heap/cppgc-internal/marking-state.h",
|
||||
"src/heap/cppgc-internal/marking-verifier.cc",
|
||||
"src/heap/cppgc-internal/marking-verifier.h",
|
||||
"src/heap/cppgc-internal/marking-visitor.cc",
|
||||
"src/heap/cppgc-internal/marking-visitor.h",
|
||||
"src/heap/cppgc-internal/marking-worklists.cc",
|
||||
"src/heap/cppgc-internal/marking-worklists.h",
|
||||
"src/heap/cppgc-internal/member-storage.cc",
|
||||
"src/heap/cppgc-internal/member-storage.h",
|
||||
"src/heap/cppgc-internal/memory.cc",
|
||||
"src/heap/cppgc-internal/memory.h",
|
||||
"src/heap/cppgc-internal/metric-recorder.h",
|
||||
"src/heap/cppgc-internal/name-trait.cc",
|
||||
"src/heap/cppgc-internal/object-allocator.cc",
|
||||
"src/heap/cppgc-internal/object-allocator.h",
|
||||
"src/heap/cppgc-internal/object-poisoner.h",
|
||||
"src/heap/cppgc-internal/object-size-trait.cc",
|
||||
"src/heap/cppgc-internal/object-start-bitmap.h",
|
||||
"src/heap/cppgc-internal/object-view.h",
|
||||
"src/heap/cppgc-internal/page-memory.cc",
|
||||
"src/heap/cppgc-internal/page-memory.h",
|
||||
"src/heap/cppgc-internal/persistent-node.cc",
|
||||
"src/heap/cppgc-internal/platform.cc",
|
||||
"src/heap/cppgc-internal/platform.h",
|
||||
"src/heap/cppgc-internal/pointer-policies.cc",
|
||||
"src/heap/cppgc-internal/prefinalizer-handler.cc",
|
||||
"src/heap/cppgc-internal/prefinalizer-handler.h",
|
||||
"src/heap/cppgc-internal/process-heap.cc",
|
||||
"src/heap/cppgc-internal/process-heap.h",
|
||||
"src/heap/cppgc-internal/process-heap-statistics.cc",
|
||||
"src/heap/cppgc-internal/process-heap-statistics.h",
|
||||
"src/heap/cppgc-internal/raw-heap.cc",
|
||||
"src/heap/cppgc-internal/raw-heap.h",
|
||||
"src/heap/cppgc-internal/remembered-set.cc",
|
||||
"src/heap/cppgc-internal/remembered-set.h",
|
||||
"src/heap/cppgc-internal/stats-collector.cc",
|
||||
"src/heap/cppgc-internal/stats-collector.h",
|
||||
"src/heap/cppgc-internal/sweeper.cc",
|
||||
"src/heap/cppgc-internal/sweeper.h",
|
||||
"src/heap/cppgc-internal/task-handle.h",
|
||||
"src/heap/cppgc-internal/trace-event.h",
|
||||
"src/heap/cppgc-internal/trace-trait.cc",
|
||||
"src/heap/cppgc-internal/unmarker.h",
|
||||
"src/heap/cppgc-internal/virtual-memory.cc",
|
||||
"src/heap/cppgc-internal/virtual-memory.h",
|
||||
"src/heap/cppgc-internal/visitor.cc",
|
||||
"src/heap/cppgc-internal/visitor.h",
|
||||
"src/heap/cppgc-internal/write-barrier.cc",
|
||||
"src/heap/cppgc-internal/write-barrier.h",
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
@@ -7752,111 +7752,111 @@ v8_cluster_source_set("cppgc_base") {
|
||||
visibility = [ ":*" ]
|
||||
|
||||
sources = [
|
||||
"src/heap/cppgc/allocation.cc",
|
||||
"src/heap/cppgc/compaction-worklists.cc",
|
||||
"src/heap/cppgc/compaction-worklists.h",
|
||||
"src/heap/cppgc/compactor.cc",
|
||||
"src/heap/cppgc/compactor.h",
|
||||
"src/heap/cppgc/concurrent-marker.cc",
|
||||
"src/heap/cppgc/concurrent-marker.h",
|
||||
"src/heap/cppgc/explicit-management.cc",
|
||||
"src/heap/cppgc/free-list.cc",
|
||||
"src/heap/cppgc/free-list.h",
|
||||
"src/heap/cppgc/garbage-collector.h",
|
||||
"src/heap/cppgc/gc-info-table.cc",
|
||||
"src/heap/cppgc/gc-info-table.h",
|
||||
"src/heap/cppgc/gc-info.cc",
|
||||
"src/heap/cppgc/gc-invoker.cc",
|
||||
"src/heap/cppgc/gc-invoker.h",
|
||||
"src/heap/cppgc/globals.h",
|
||||
"src/heap/cppgc/heap-base.cc",
|
||||
"src/heap/cppgc/heap-base.h",
|
||||
"src/heap/cppgc/heap-config.h",
|
||||
"src/heap/cppgc/heap-consistency.cc",
|
||||
"src/heap/cppgc/heap-growing.cc",
|
||||
"src/heap/cppgc/heap-growing.h",
|
||||
"src/heap/cppgc/heap-object-header.cc",
|
||||
"src/heap/cppgc/heap-object-header.h",
|
||||
"src/heap/cppgc/heap-page.cc",
|
||||
"src/heap/cppgc/heap-page.h",
|
||||
"src/heap/cppgc/heap-space.cc",
|
||||
"src/heap/cppgc/heap-space.h",
|
||||
"src/heap/cppgc/heap-state.cc",
|
||||
"src/heap/cppgc/heap-statistics-collector.cc",
|
||||
"src/heap/cppgc/heap-statistics-collector.h",
|
||||
"src/heap/cppgc/heap-visitor.h",
|
||||
"src/heap/cppgc/heap.cc",
|
||||
"src/heap/cppgc/heap.h",
|
||||
"src/heap/cppgc/liveness-broker.cc",
|
||||
"src/heap/cppgc/liveness-broker.h",
|
||||
"src/heap/cppgc/logging.cc",
|
||||
"src/heap/cppgc/marker.cc",
|
||||
"src/heap/cppgc/marker.h",
|
||||
"src/heap/cppgc/marking-state.cc",
|
||||
"src/heap/cppgc/marking-state.h",
|
||||
"src/heap/cppgc/marking-verifier.cc",
|
||||
"src/heap/cppgc/marking-verifier.h",
|
||||
"src/heap/cppgc/marking-visitor.cc",
|
||||
"src/heap/cppgc/marking-visitor.h",
|
||||
"src/heap/cppgc/marking-worklists.cc",
|
||||
"src/heap/cppgc/marking-worklists.h",
|
||||
"src/heap/cppgc/member-storage.cc",
|
||||
"src/heap/cppgc/member-storage.h",
|
||||
"src/heap/cppgc/memory.cc",
|
||||
"src/heap/cppgc/memory.h",
|
||||
"src/heap/cppgc/metric-recorder.h",
|
||||
"src/heap/cppgc/name-trait.cc",
|
||||
"src/heap/cppgc/object-allocator.cc",
|
||||
"src/heap/cppgc/object-allocator.h",
|
||||
"src/heap/cppgc/object-poisoner.h",
|
||||
"src/heap/cppgc/object-size-trait.cc",
|
||||
"src/heap/cppgc/object-start-bitmap.h",
|
||||
"src/heap/cppgc/object-view.h",
|
||||
"src/heap/cppgc/page-memory.cc",
|
||||
"src/heap/cppgc/page-memory.h",
|
||||
"src/heap/cppgc/persistent-node.cc",
|
||||
"src/heap/cppgc/platform.cc",
|
||||
"src/heap/cppgc/platform.h",
|
||||
"src/heap/cppgc/pointer-policies.cc",
|
||||
"src/heap/cppgc/prefinalizer-handler.cc",
|
||||
"src/heap/cppgc/prefinalizer-handler.h",
|
||||
"src/heap/cppgc/process-heap-statistics.cc",
|
||||
"src/heap/cppgc/process-heap-statistics.h",
|
||||
"src/heap/cppgc/process-heap.cc",
|
||||
"src/heap/cppgc/process-heap.h",
|
||||
"src/heap/cppgc/raw-heap.cc",
|
||||
"src/heap/cppgc/raw-heap.h",
|
||||
"src/heap/cppgc/remembered-set.cc",
|
||||
"src/heap/cppgc/remembered-set.h",
|
||||
"src/heap/cppgc/stats-collector.cc",
|
||||
"src/heap/cppgc/stats-collector.h",
|
||||
"src/heap/cppgc/sweeper.cc",
|
||||
"src/heap/cppgc/sweeper.h",
|
||||
"src/heap/cppgc/task-handle.h",
|
||||
"src/heap/cppgc/unmarker.h",
|
||||
"src/heap/cppgc-internal/allocation.cc",
|
||||
"src/heap/cppgc-internal/compaction-worklists.cc",
|
||||
"src/heap/cppgc-internal/compaction-worklists.h",
|
||||
"src/heap/cppgc-internal/compactor.cc",
|
||||
"src/heap/cppgc-internal/compactor.h",
|
||||
"src/heap/cppgc-internal/concurrent-marker.cc",
|
||||
"src/heap/cppgc-internal/concurrent-marker.h",
|
||||
"src/heap/cppgc-internal/explicit-management.cc",
|
||||
"src/heap/cppgc-internal/free-list.cc",
|
||||
"src/heap/cppgc-internal/free-list.h",
|
||||
"src/heap/cppgc-internal/garbage-collector.h",
|
||||
"src/heap/cppgc-internal/gc-info-table.cc",
|
||||
"src/heap/cppgc-internal/gc-info-table.h",
|
||||
"src/heap/cppgc-internal/gc-info.cc",
|
||||
"src/heap/cppgc-internal/gc-invoker.cc",
|
||||
"src/heap/cppgc-internal/gc-invoker.h",
|
||||
"src/heap/cppgc-internal/globals.h",
|
||||
"src/heap/cppgc-internal/heap-base.cc",
|
||||
"src/heap/cppgc-internal/heap-base.h",
|
||||
"src/heap/cppgc-internal/heap-config.h",
|
||||
"src/heap/cppgc-internal/heap-consistency.cc",
|
||||
"src/heap/cppgc-internal/heap-growing.cc",
|
||||
"src/heap/cppgc-internal/heap-growing.h",
|
||||
"src/heap/cppgc-internal/heap-object-header.cc",
|
||||
"src/heap/cppgc-internal/heap-object-header.h",
|
||||
"src/heap/cppgc-internal/heap-page.cc",
|
||||
"src/heap/cppgc-internal/heap-page.h",
|
||||
"src/heap/cppgc-internal/heap-space.cc",
|
||||
"src/heap/cppgc-internal/heap-space.h",
|
||||
"src/heap/cppgc-internal/heap-state.cc",
|
||||
"src/heap/cppgc-internal/heap-statistics-collector.cc",
|
||||
"src/heap/cppgc-internal/heap-statistics-collector.h",
|
||||
"src/heap/cppgc-internal/heap-visitor.h",
|
||||
"src/heap/cppgc-internal/heap.cc",
|
||||
"src/heap/cppgc-internal/heap.h",
|
||||
"src/heap/cppgc-internal/liveness-broker.cc",
|
||||
"src/heap/cppgc-internal/liveness-broker.h",
|
||||
"src/heap/cppgc-internal/logging.cc",
|
||||
"src/heap/cppgc-internal/marker.cc",
|
||||
"src/heap/cppgc-internal/marker.h",
|
||||
"src/heap/cppgc-internal/marking-state.cc",
|
||||
"src/heap/cppgc-internal/marking-state.h",
|
||||
"src/heap/cppgc-internal/marking-verifier.cc",
|
||||
"src/heap/cppgc-internal/marking-verifier.h",
|
||||
"src/heap/cppgc-internal/marking-visitor.cc",
|
||||
"src/heap/cppgc-internal/marking-visitor.h",
|
||||
"src/heap/cppgc-internal/marking-worklists.cc",
|
||||
"src/heap/cppgc-internal/marking-worklists.h",
|
||||
"src/heap/cppgc-internal/member-storage.cc",
|
||||
"src/heap/cppgc-internal/member-storage.h",
|
||||
"src/heap/cppgc-internal/memory.cc",
|
||||
"src/heap/cppgc-internal/memory.h",
|
||||
"src/heap/cppgc-internal/metric-recorder.h",
|
||||
"src/heap/cppgc-internal/name-trait.cc",
|
||||
"src/heap/cppgc-internal/object-allocator.cc",
|
||||
"src/heap/cppgc-internal/object-allocator.h",
|
||||
"src/heap/cppgc-internal/object-poisoner.h",
|
||||
"src/heap/cppgc-internal/object-size-trait.cc",
|
||||
"src/heap/cppgc-internal/object-start-bitmap.h",
|
||||
"src/heap/cppgc-internal/object-view.h",
|
||||
"src/heap/cppgc-internal/page-memory.cc",
|
||||
"src/heap/cppgc-internal/page-memory.h",
|
||||
"src/heap/cppgc-internal/persistent-node.cc",
|
||||
"src/heap/cppgc-internal/platform.cc",
|
||||
"src/heap/cppgc-internal/platform.h",
|
||||
"src/heap/cppgc-internal/pointer-policies.cc",
|
||||
"src/heap/cppgc-internal/prefinalizer-handler.cc",
|
||||
"src/heap/cppgc-internal/prefinalizer-handler.h",
|
||||
"src/heap/cppgc-internal/process-heap-statistics.cc",
|
||||
"src/heap/cppgc-internal/process-heap-statistics.h",
|
||||
"src/heap/cppgc-internal/process-heap.cc",
|
||||
"src/heap/cppgc-internal/process-heap.h",
|
||||
"src/heap/cppgc-internal/raw-heap.cc",
|
||||
"src/heap/cppgc-internal/raw-heap.h",
|
||||
"src/heap/cppgc-internal/remembered-set.cc",
|
||||
"src/heap/cppgc-internal/remembered-set.h",
|
||||
"src/heap/cppgc-internal/stats-collector.cc",
|
||||
"src/heap/cppgc-internal/stats-collector.h",
|
||||
"src/heap/cppgc-internal/sweeper.cc",
|
||||
"src/heap/cppgc-internal/sweeper.h",
|
||||
"src/heap/cppgc-internal/task-handle.h",
|
||||
"src/heap/cppgc-internal/unmarker.h",
|
||||
|
||||
# TODO(v8:11952): Remove the testing header here once depending on both,
|
||||
# //v8:v8 and //v8:v8_for_testing does not result in ODR violations.
|
||||
"src/heap/cppgc/testing.cc",
|
||||
"src/heap/cppgc/trace-event.h",
|
||||
"src/heap/cppgc/trace-trait.cc",
|
||||
"src/heap/cppgc/virtual-memory.cc",
|
||||
"src/heap/cppgc/virtual-memory.h",
|
||||
"src/heap/cppgc/visitor.cc",
|
||||
"src/heap/cppgc/visitor.h",
|
||||
"src/heap/cppgc/write-barrier.cc",
|
||||
"src/heap/cppgc/write-barrier.h",
|
||||
"src/heap/cppgc-internal/testing.cc",
|
||||
"src/heap/cppgc-internal/trace-event.h",
|
||||
"src/heap/cppgc-internal/trace-trait.cc",
|
||||
"src/heap/cppgc-internal/virtual-memory.cc",
|
||||
"src/heap/cppgc-internal/virtual-memory.h",
|
||||
"src/heap/cppgc-internal/visitor.cc",
|
||||
"src/heap/cppgc-internal/visitor.h",
|
||||
"src/heap/cppgc-internal/write-barrier.cc",
|
||||
"src/heap/cppgc-internal/write-barrier.h",
|
||||
]
|
||||
|
||||
exclude_from_cluster = [
|
||||
"src/heap/cppgc/concurrent-marker.cc", # kDefaultDeadlineCheckInterval.
|
||||
"src/heap/cppgc-internal/concurrent-marker.cc", # kDefaultDeadlineCheckInterval.
|
||||
]
|
||||
|
||||
if (cppgc_enable_caged_heap) {
|
||||
sources += [
|
||||
"src/heap/cppgc/caged-heap-local-data.cc",
|
||||
"src/heap/cppgc/caged-heap.cc",
|
||||
"src/heap/cppgc/caged-heap.h",
|
||||
"src/heap/cppgc-internal/caged-heap-local-data.cc",
|
||||
"src/heap/cppgc-internal/caged-heap.cc",
|
||||
"src/heap/cppgc-internal/caged-heap.h",
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -101,7 +101,7 @@
|
||||
'|bazel/',
|
||||
},
|
||||
'cppgc': {
|
||||
'filepath': 'src/heap/cppgc/' \
|
||||
'filepath': 'src/heap/cppgc-internal/' \
|
||||
'|src/heap/cppgc-js/' \
|
||||
'|include/cppgc/' \
|
||||
'|test/unittests/heap/cppgc/' \
|
||||
|
||||
@@ -3,7 +3,7 @@ include_rules = [
|
||||
"-src",
|
||||
"+src/base",
|
||||
"+src/heap/base",
|
||||
"+src/heap/cppgc",
|
||||
"+src/heap/cppgc-internal",
|
||||
"+src/tracing/trace-event.h",
|
||||
"+src/tracing/trace-event-no-perfetto.h",
|
||||
]
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
#include "include/cppgc/internal/api-constants.h"
|
||||
#include "src/base/macros.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/object-allocator.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/object-allocator.h"
|
||||
|
||||
#if defined(__clang__) && !defined(DEBUG) && V8_HAS_ATTRIBUTE_ALWAYS_INLINE
|
||||
#define CPPGC_FORCE_ALWAYS_INLINE __attribute__((always_inline))
|
||||
File renamed without changes.
@@ -7,7 +7,7 @@
|
||||
#include <bit>
|
||||
#include <map>
|
||||
|
||||
#include "src/heap/cppgc/platform.h"
|
||||
#include "src/heap/cppgc-internal/platform.h"
|
||||
#include "v8config.h" // NOLINT(build/include_directory)
|
||||
|
||||
#if !defined(CPPGC_CAGED_HEAP)
|
||||
@@ -22,11 +22,11 @@
|
||||
#include "src/base/lazy-instance.h"
|
||||
#include "src/base/logging.h"
|
||||
#include "src/base/platform/platform.h"
|
||||
#include "src/heap/cppgc/caged-heap.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/heap-base.h"
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc/member-storage.h"
|
||||
#include "src/heap/cppgc-internal/caged-heap.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/heap-base.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/member-storage.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_CAGED_HEAP_H_
|
||||
#define V8_HEAP_CPPGC_CAGED_HEAP_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_CAGED_HEAP_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_CAGED_HEAP_H_
|
||||
|
||||
#include <limits>
|
||||
#include <memory>
|
||||
@@ -12,8 +12,8 @@
|
||||
#include "include/cppgc/platform.h"
|
||||
#include "src/base/bounded-page-allocator.h"
|
||||
#include "src/base/lazy-instance.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/virtual-memory.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/virtual-memory.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -89,4 +89,4 @@ class V8_EXPORT_PRIVATE CagedHeap final {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_CAGED_HEAP_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_CAGED_HEAP_H_
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/compaction-worklists.h"
|
||||
#include "src/heap/cppgc-internal/compaction-worklists.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
+3
-3
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_COMPACTION_WORKLISTS_H_
|
||||
#define V8_HEAP_CPPGC_COMPACTION_WORKLISTS_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_COMPACTION_WORKLISTS_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_COMPACTION_WORKLISTS_H_
|
||||
|
||||
#include <unordered_set>
|
||||
|
||||
@@ -37,4 +37,4 @@ class CompactionWorklists final {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_COMPACTION_WORKLISTS_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_COMPACTION_WORKLISTS_H_
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/compactor.h"
|
||||
#include "src/heap/cppgc-internal/compactor.h"
|
||||
|
||||
#include <map>
|
||||
#include <numeric>
|
||||
@@ -10,15 +10,15 @@
|
||||
|
||||
#include "absl/container/flat_hash_set.h"
|
||||
#include "include/cppgc/macros.h"
|
||||
#include "src/heap/cppgc/compaction-worklists.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/heap-base.h"
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc/heap-space.h"
|
||||
#include "src/heap/cppgc/memory.h"
|
||||
#include "src/heap/cppgc/object-poisoner.h"
|
||||
#include "src/heap/cppgc/raw-heap.h"
|
||||
#include "src/heap/cppgc/stats-collector.h"
|
||||
#include "src/heap/cppgc-internal/compaction-worklists.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/heap-base.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/heap-space.h"
|
||||
#include "src/heap/cppgc-internal/memory.h"
|
||||
#include "src/heap/cppgc-internal/object-poisoner.h"
|
||||
#include "src/heap/cppgc-internal/raw-heap.h"
|
||||
#include "src/heap/cppgc-internal/stats-collector.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -2,12 +2,12 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_COMPACTOR_H_
|
||||
#define V8_HEAP_CPPGC_COMPACTOR_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_COMPACTOR_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_COMPACTOR_H_
|
||||
|
||||
#include "src/heap/cppgc/compaction-worklists.h"
|
||||
#include "src/heap/cppgc/garbage-collector.h"
|
||||
#include "src/heap/cppgc/raw-heap.h"
|
||||
#include "src/heap/cppgc-internal/compaction-worklists.h"
|
||||
#include "src/heap/cppgc-internal/garbage-collector.h"
|
||||
#include "src/heap/cppgc-internal/raw-heap.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -54,4 +54,4 @@ class V8_EXPORT_PRIVATE Compactor final {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_COMPACTOR_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_COMPACTOR_H_
|
||||
@@ -2,14 +2,14 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/concurrent-marker.h"
|
||||
#include "src/heap/cppgc-internal/concurrent-marker.h"
|
||||
|
||||
#include "include/cppgc/platform.h"
|
||||
#include "src/heap/cppgc/heap-base.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/marking-state.h"
|
||||
#include "src/heap/cppgc/marking-visitor.h"
|
||||
#include "src/heap/cppgc/stats-collector.h"
|
||||
#include "src/heap/cppgc-internal/heap-base.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/marking-state.h"
|
||||
#include "src/heap/cppgc-internal/marking-visitor.h"
|
||||
#include "src/heap/cppgc-internal/stats-collector.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -2,14 +2,14 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_CONCURRENT_MARKER_H_
|
||||
#define V8_HEAP_CPPGC_CONCURRENT_MARKER_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_CONCURRENT_MARKER_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_CONCURRENT_MARKER_H_
|
||||
|
||||
#include "include/cppgc/platform.h"
|
||||
#include "src/heap/base/incremental-marking-schedule.h"
|
||||
#include "src/heap/cppgc/marking-state.h"
|
||||
#include "src/heap/cppgc/marking-visitor.h"
|
||||
#include "src/heap/cppgc/marking-worklists.h"
|
||||
#include "src/heap/cppgc-internal/marking-state.h"
|
||||
#include "src/heap/cppgc-internal/marking-visitor.h"
|
||||
#include "src/heap/cppgc-internal/marking-worklists.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -81,4 +81,4 @@ class V8_EXPORT_PRIVATE ConcurrentMarker : public ConcurrentMarkerBase {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_CONCURRENT_MARKER_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_CONCURRENT_MARKER_H_
|
||||
+5
-5
@@ -7,11 +7,11 @@
|
||||
#include <algorithm>
|
||||
#include <tuple>
|
||||
|
||||
#include "src/heap/cppgc/heap-base.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc/memory.h"
|
||||
#include "src/heap/cppgc/object-view.h"
|
||||
#include "src/heap/cppgc-internal/heap-base.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/memory.h"
|
||||
#include "src/heap/cppgc-internal/object-view.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -2,15 +2,15 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/free-list.h"
|
||||
#include "src/heap/cppgc-internal/free-list.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "include/cppgc/internal/logging.h"
|
||||
#include "src/base/bits.h"
|
||||
#include "src/base/sanitizer/asan.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -2,16 +2,16 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_FREE_LIST_H_
|
||||
#define V8_HEAP_CPPGC_FREE_LIST_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_FREE_LIST_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_FREE_LIST_H_
|
||||
|
||||
#include <array>
|
||||
|
||||
#include "include/cppgc/heap-statistics.h"
|
||||
#include "src/base/macros.h"
|
||||
#include "src/base/sanitizer/asan.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -83,4 +83,4 @@ Filler& Filler::CreateAt(void* memory, size_t size) {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_FREE_LIST_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_FREE_LIST_H_
|
||||
@@ -2,14 +2,14 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_GARBAGE_COLLECTOR_H_
|
||||
#define V8_HEAP_CPPGC_GARBAGE_COLLECTOR_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_GARBAGE_COLLECTOR_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_GARBAGE_COLLECTOR_H_
|
||||
|
||||
#include <optional>
|
||||
|
||||
#include "include/cppgc/common.h"
|
||||
#include "src/base/functional/function-ref.h"
|
||||
#include "src/heap/cppgc/heap-config.h"
|
||||
#include "src/heap/cppgc-internal/heap-config.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -42,4 +42,4 @@ class GarbageCollector {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_GARBAGE_COLLECTOR_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_GARBAGE_COLLECTOR_H_
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/gc-info-table.h"
|
||||
#include "src/heap/cppgc-internal/gc-info-table.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "src/base/bits.h"
|
||||
#include "src/base/lazy-instance.h"
|
||||
#include "src/base/page-allocator.h"
|
||||
#include "src/heap/cppgc/platform.h"
|
||||
#include "src/heap/cppgc-internal/platform.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_GC_INFO_TABLE_H_
|
||||
#define V8_HEAP_CPPGC_GC_INFO_TABLE_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_GC_INFO_TABLE_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_GC_INFO_TABLE_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#include "src/base/macros.h"
|
||||
#include "src/base/platform/mutex.h"
|
||||
#include "src/base/platform/platform.h"
|
||||
#include "src/heap/cppgc/platform.h"
|
||||
#include "src/heap/cppgc-internal/platform.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -123,4 +123,4 @@ class V8_EXPORT GlobalGCInfoTable final {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_GC_INFO_TABLE_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_GC_INFO_TABLE_H_
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include "include/cppgc/internal/name-trait.h"
|
||||
#include "include/v8config.h"
|
||||
#include "src/heap/cppgc/gc-info-table.h"
|
||||
#include "src/heap/cppgc-internal/gc-info-table.h"
|
||||
|
||||
namespace cppgc::internal {
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/gc-invoker.h"
|
||||
#include "src/heap/cppgc-internal/gc-invoker.h"
|
||||
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
|
||||
#include "include/cppgc/common.h"
|
||||
#include "include/cppgc/platform.h"
|
||||
#include "src/heap/cppgc/task-handle.h"
|
||||
#include "src/heap/cppgc-internal/task-handle.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -2,15 +2,15 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_GC_INVOKER_H_
|
||||
#define V8_HEAP_CPPGC_GC_INVOKER_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_GC_INVOKER_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_GC_INVOKER_H_
|
||||
|
||||
#include <optional>
|
||||
|
||||
#include "include/cppgc/common.h"
|
||||
#include "include/cppgc/heap.h"
|
||||
#include "src/base/macros.h"
|
||||
#include "src/heap/cppgc/garbage-collector.h"
|
||||
#include "src/heap/cppgc-internal/garbage-collector.h"
|
||||
|
||||
namespace cppgc {
|
||||
|
||||
@@ -55,4 +55,4 @@ class V8_EXPORT_PRIVATE GCInvoker final : public GarbageCollector {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_GC_INVOKER_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_GC_INVOKER_H_
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_GLOBALS_H_
|
||||
#define V8_HEAP_CPPGC_GLOBALS_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_GLOBALS_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_GLOBALS_H_
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
@@ -57,4 +57,4 @@ constexpr size_t kSlotSize = sizeof(uintptr_t);
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_GLOBALS_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_GLOBALS_H_
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/heap-base.h"
|
||||
#include "src/heap/cppgc-internal/heap-base.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
@@ -11,20 +11,20 @@
|
||||
#include "src/base/logging.h"
|
||||
#include "src/base/sanitizer/lsan-page-allocator.h"
|
||||
#include "src/heap/base/stack.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/heap-config.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc/heap-statistics-collector.h"
|
||||
#include "src/heap/cppgc/heap-visitor.h"
|
||||
#include "src/heap/cppgc/marking-verifier.h"
|
||||
#include "src/heap/cppgc/object-view.h"
|
||||
#include "src/heap/cppgc/page-memory.h"
|
||||
#include "src/heap/cppgc/platform.h"
|
||||
#include "src/heap/cppgc/prefinalizer-handler.h"
|
||||
#include "src/heap/cppgc/stats-collector.h"
|
||||
#include "src/heap/cppgc/unmarker.h"
|
||||
#include "src/heap/cppgc/write-barrier.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/heap-config.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/heap-statistics-collector.h"
|
||||
#include "src/heap/cppgc-internal/heap-visitor.h"
|
||||
#include "src/heap/cppgc-internal/marking-verifier.h"
|
||||
#include "src/heap/cppgc-internal/object-view.h"
|
||||
#include "src/heap/cppgc-internal/page-memory.h"
|
||||
#include "src/heap/cppgc-internal/platform.h"
|
||||
#include "src/heap/cppgc-internal/prefinalizer-handler.h"
|
||||
#include "src/heap/cppgc-internal/stats-collector.h"
|
||||
#include "src/heap/cppgc-internal/unmarker.h"
|
||||
#include "src/heap/cppgc-internal/write-barrier.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_HEAP_BASE_H_
|
||||
#define V8_HEAP_CPPGC_HEAP_BASE_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_HEAP_BASE_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_HEAP_BASE_H_
|
||||
|
||||
#include <memory>
|
||||
#include <set>
|
||||
@@ -14,21 +14,21 @@
|
||||
#include "include/cppgc/internal/persistent-node.h"
|
||||
#include "include/cppgc/macros.h"
|
||||
#include "src/base/macros.h"
|
||||
#include "src/heap/cppgc/compactor.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/marker.h"
|
||||
#include "src/heap/cppgc/metric-recorder.h"
|
||||
#include "src/heap/cppgc/object-allocator.h"
|
||||
#include "src/heap/cppgc/platform.h"
|
||||
#include "src/heap/cppgc/process-heap-statistics.h"
|
||||
#include "src/heap/cppgc/process-heap.h"
|
||||
#include "src/heap/cppgc/raw-heap.h"
|
||||
#include "src/heap/cppgc/sweeper.h"
|
||||
#include "src/heap/cppgc/write-barrier.h"
|
||||
#include "src/heap/cppgc-internal/compactor.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/marker.h"
|
||||
#include "src/heap/cppgc-internal/metric-recorder.h"
|
||||
#include "src/heap/cppgc-internal/object-allocator.h"
|
||||
#include "src/heap/cppgc-internal/platform.h"
|
||||
#include "src/heap/cppgc-internal/process-heap-statistics.h"
|
||||
#include "src/heap/cppgc-internal/process-heap.h"
|
||||
#include "src/heap/cppgc-internal/raw-heap.h"
|
||||
#include "src/heap/cppgc-internal/sweeper.h"
|
||||
#include "src/heap/cppgc-internal/write-barrier.h"
|
||||
#include "v8config.h" // NOLINT(build/include_directory)
|
||||
|
||||
#if defined(CPPGC_YOUNG_GENERATION)
|
||||
#include "src/heap/cppgc/remembered-set.h"
|
||||
#include "src/heap/cppgc-internal/remembered-set.h"
|
||||
#endif
|
||||
|
||||
namespace v8 {
|
||||
@@ -338,7 +338,6 @@ class V8_EXPORT_PRIVATE HeapBase : public cppgc::HeapHandle {
|
||||
|
||||
bool in_atomic_pause_ = false;
|
||||
|
||||
|
||||
MarkingType marking_support_;
|
||||
SweepingType sweeping_support_;
|
||||
|
||||
@@ -365,4 +364,4 @@ class V8_NODISCARD V8_EXPORT_PRIVATE ClassNameAsHeapObjectNameScope final {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_HEAP_BASE_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_HEAP_BASE_H_
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_HEAP_CONFIG_H_
|
||||
#define V8_HEAP_CPPGC_HEAP_CONFIG_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_HEAP_CONFIG_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_HEAP_CONFIG_H_
|
||||
|
||||
#include "include/cppgc/heap.h"
|
||||
#include "src/base/platform/time.h"
|
||||
@@ -112,4 +112,4 @@ struct GCConfig {
|
||||
|
||||
} // namespace cppgc::internal
|
||||
|
||||
#endif // V8_HEAP_CPPGC_HEAP_CONFIG_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_HEAP_CONFIG_H_
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include "include/cppgc/heap.h"
|
||||
#include "src/base/logging.h"
|
||||
#include "src/heap/cppgc/heap-base.h"
|
||||
#include "src/heap/cppgc-internal/heap-base.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace subtle {
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/heap-growing.h"
|
||||
#include "src/heap/cppgc-internal/heap-growing.h"
|
||||
|
||||
#include <cmath>
|
||||
#include <memory>
|
||||
@@ -10,10 +10,10 @@
|
||||
#include "include/cppgc/platform.h"
|
||||
#include "src/base/macros.h"
|
||||
#include "src/heap/base/incremental-marking-schedule.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/heap.h"
|
||||
#include "src/heap/cppgc/stats-collector.h"
|
||||
#include "src/heap/cppgc/task-handle.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/heap.h"
|
||||
#include "src/heap/cppgc-internal/stats-collector.h"
|
||||
#include "src/heap/cppgc-internal/task-handle.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -2,13 +2,13 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_HEAP_GROWING_H_
|
||||
#define V8_HEAP_CPPGC_HEAP_GROWING_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_HEAP_GROWING_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_HEAP_GROWING_H_
|
||||
|
||||
#include "include/cppgc/heap.h"
|
||||
#include "src/base/macros.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/raw-heap.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/raw-heap.h"
|
||||
|
||||
namespace cppgc {
|
||||
|
||||
@@ -54,4 +54,4 @@ class V8_EXPORT_PRIVATE HeapGrowing final {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_HEAP_GROWING_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_HEAP_GROWING_H_
|
||||
+4
-4
@@ -2,15 +2,15 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
|
||||
#include "include/cppgc/allocation.h"
|
||||
#include "include/cppgc/internal/api-constants.h"
|
||||
#include "src/base/macros.h"
|
||||
#include "src/base/sanitizer/asan.h"
|
||||
#include "src/heap/cppgc/gc-info-table.h"
|
||||
#include "src/heap/cppgc/heap-base.h"
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/gc-info-table.h"
|
||||
#include "src/heap/cppgc-internal/heap-base.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_HEAP_OBJECT_HEADER_H_
|
||||
#define V8_HEAP_CPPGC_HEAP_OBJECT_HEADER_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_HEAP_OBJECT_HEADER_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_HEAP_OBJECT_HEADER_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
#include "src/base/bit-field.h"
|
||||
#include "src/base/logging.h"
|
||||
#include "src/base/macros.h"
|
||||
#include "src/heap/cppgc/gc-info-table.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc-internal/gc-info-table.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
|
||||
#if defined(CPPGC_CAGED_HEAP)
|
||||
#include "src/heap/cppgc/caged-heap.h"
|
||||
#include "src/heap/cppgc-internal/caged-heap.h"
|
||||
#endif // defined(CPPGC_CAGED_HEAP)
|
||||
|
||||
namespace cppgc {
|
||||
@@ -382,4 +382,4 @@ void HeapObjectHeader::StoreEncoded(uint16_t bits, uint16_t mask) {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_HEAP_OBJECT_HEADER_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_HEAP_OBJECT_HEADER_H_
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstddef>
|
||||
@@ -10,16 +10,16 @@
|
||||
#include "include/cppgc/internal/api-constants.h"
|
||||
#include "src/base/logging.h"
|
||||
#include "src/base/platform/mutex.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/heap-space.h"
|
||||
#include "src/heap/cppgc/heap.h"
|
||||
#include "src/heap/cppgc/memory.h"
|
||||
#include "src/heap/cppgc/object-start-bitmap.h"
|
||||
#include "src/heap/cppgc/page-memory.h"
|
||||
#include "src/heap/cppgc/raw-heap.h"
|
||||
#include "src/heap/cppgc/remembered-set.h"
|
||||
#include "src/heap/cppgc/stats-collector.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-space.h"
|
||||
#include "src/heap/cppgc-internal/heap.h"
|
||||
#include "src/heap/cppgc-internal/memory.h"
|
||||
#include "src/heap/cppgc-internal/object-start-bitmap.h"
|
||||
#include "src/heap/cppgc-internal/page-memory.h"
|
||||
#include "src/heap/cppgc-internal/raw-heap.h"
|
||||
#include "src/heap/cppgc-internal/remembered-set.h"
|
||||
#include "src/heap/cppgc-internal/stats-collector.h"
|
||||
|
||||
namespace cppgc::internal {
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_HEAP_PAGE_H_
|
||||
#define V8_HEAP_CPPGC_HEAP_PAGE_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_HEAP_PAGE_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_HEAP_PAGE_H_
|
||||
|
||||
#include <atomic>
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
#include "src/base/iterator.h"
|
||||
#include "src/base/macros.h"
|
||||
#include "src/heap/base/basic-slot-set.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/heap-config.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/heap-space.h"
|
||||
#include "src/heap/cppgc/object-start-bitmap.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/heap-config.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-space.h"
|
||||
#include "src/heap/cppgc-internal/object-start-bitmap.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -444,4 +444,4 @@ struct hash<const cppgc::internal::BasePage*> {
|
||||
|
||||
} // namespace v8::base
|
||||
|
||||
#endif // V8_HEAP_CPPGC_HEAP_PAGE_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_HEAP_PAGE_H_
|
||||
@@ -2,14 +2,14 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/heap-space.h"
|
||||
#include "src/heap/cppgc-internal/heap-space.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "src/base/logging.h"
|
||||
#include "src/base/platform/mutex.h"
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc/object-start-bitmap.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/object-start-bitmap.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -2,15 +2,15 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_HEAP_SPACE_H_
|
||||
#define V8_HEAP_CPPGC_HEAP_SPACE_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_HEAP_SPACE_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_HEAP_SPACE_H_
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "src/base/logging.h"
|
||||
#include "src/base/macros.h"
|
||||
#include "src/base/platform/mutex.h"
|
||||
#include "src/heap/cppgc/free-list.h"
|
||||
#include "src/heap/cppgc-internal/free-list.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -129,4 +129,4 @@ class V8_EXPORT_PRIVATE LargePageSpace final : public BaseSpace {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_HEAP_SPACE_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_HEAP_SPACE_H_
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "include/cppgc/heap-state.h"
|
||||
|
||||
#include "src/heap/cppgc/heap-base.h"
|
||||
#include "src/heap/cppgc-internal/heap-base.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace subtle {
|
||||
+8
-8
@@ -2,19 +2,19 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/heap-statistics-collector.h"
|
||||
#include "src/heap/cppgc-internal/heap-statistics-collector.h"
|
||||
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
|
||||
#include "include/cppgc/heap-statistics.h"
|
||||
#include "src/heap/cppgc/free-list.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/heap-base.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/page-memory.h"
|
||||
#include "src/heap/cppgc/raw-heap.h"
|
||||
#include "src/heap/cppgc/stats-collector.h"
|
||||
#include "src/heap/cppgc-internal/free-list.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/heap-base.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/page-memory.h"
|
||||
#include "src/heap/cppgc-internal/raw-heap.h"
|
||||
#include "src/heap/cppgc-internal/stats-collector.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
+4
-4
@@ -2,13 +2,13 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_HEAP_STATISTICS_COLLECTOR_H_
|
||||
#define V8_HEAP_CPPGC_HEAP_STATISTICS_COLLECTOR_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_HEAP_STATISTICS_COLLECTOR_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_HEAP_STATISTICS_COLLECTOR_H_
|
||||
|
||||
#include <unordered_map>
|
||||
|
||||
#include "include/cppgc/heap-statistics.h"
|
||||
#include "src/heap/cppgc/heap-visitor.h"
|
||||
#include "src/heap/cppgc-internal/heap-visitor.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -39,4 +39,4 @@ class HeapStatisticsCollector : private HeapVisitor<HeapStatisticsCollector> {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_HEAP_STATISTICS_COLLECTOR_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_HEAP_STATISTICS_COLLECTOR_H_
|
||||
@@ -2,12 +2,12 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_HEAP_VISITOR_H_
|
||||
#define V8_HEAP_CPPGC_HEAP_VISITOR_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_HEAP_VISITOR_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_HEAP_VISITOR_H_
|
||||
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc/heap-space.h"
|
||||
#include "src/heap/cppgc/raw-heap.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/heap-space.h"
|
||||
#include "src/heap/cppgc-internal/raw-heap.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -85,4 +85,4 @@ class HeapVisitor {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_HEAP_VISITOR_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_HEAP_VISITOR_H_
|
||||
@@ -2,21 +2,21 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/heap.h"
|
||||
#include "src/heap/cppgc-internal/heap.h"
|
||||
|
||||
#include "include/cppgc/heap-consistency.h"
|
||||
#include "src/heap/base/stack.h"
|
||||
#include "src/heap/cppgc/garbage-collector.h"
|
||||
#include "src/heap/cppgc/gc-invoker.h"
|
||||
#include "src/heap/cppgc/heap-config.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/heap-visitor.h"
|
||||
#include "src/heap/cppgc/marker.h"
|
||||
#include "src/heap/cppgc/marking-verifier.h"
|
||||
#include "src/heap/cppgc/prefinalizer-handler.h"
|
||||
#include "src/heap/cppgc/stats-collector.h"
|
||||
#include "src/heap/cppgc/sweeper.h"
|
||||
#include "src/heap/cppgc/unmarker.h"
|
||||
#include "src/heap/cppgc-internal/garbage-collector.h"
|
||||
#include "src/heap/cppgc-internal/gc-invoker.h"
|
||||
#include "src/heap/cppgc-internal/heap-config.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-visitor.h"
|
||||
#include "src/heap/cppgc-internal/marker.h"
|
||||
#include "src/heap/cppgc-internal/marking-verifier.h"
|
||||
#include "src/heap/cppgc-internal/prefinalizer-handler.h"
|
||||
#include "src/heap/cppgc-internal/stats-collector.h"
|
||||
#include "src/heap/cppgc-internal/sweeper.h"
|
||||
#include "src/heap/cppgc-internal/unmarker.h"
|
||||
|
||||
namespace cppgc {
|
||||
|
||||
@@ -2,18 +2,18 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_HEAP_H_
|
||||
#define V8_HEAP_CPPGC_HEAP_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_HEAP_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_HEAP_H_
|
||||
|
||||
#include <optional>
|
||||
|
||||
#include "include/cppgc/heap.h"
|
||||
#include "include/cppgc/liveness-broker.h"
|
||||
#include "include/cppgc/macros.h"
|
||||
#include "src/heap/cppgc/garbage-collector.h"
|
||||
#include "src/heap/cppgc/gc-invoker.h"
|
||||
#include "src/heap/cppgc/heap-base.h"
|
||||
#include "src/heap/cppgc/heap-growing.h"
|
||||
#include "src/heap/cppgc-internal/garbage-collector.h"
|
||||
#include "src/heap/cppgc-internal/gc-invoker.h"
|
||||
#include "src/heap/cppgc-internal/heap-base.h"
|
||||
#include "src/heap/cppgc-internal/heap-growing.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -81,4 +81,4 @@ class V8_EXPORT_PRIVATE Heap final : public HeapBase,
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_HEAP_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_HEAP_H_
|
||||
@@ -2,9 +2,9 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/liveness-broker.h"
|
||||
#include "src/heap/cppgc-internal/liveness-broker.h"
|
||||
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
|
||||
namespace cppgc {
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_LIVENESS_BROKER_H_
|
||||
#define V8_HEAP_CPPGC_LIVENESS_BROKER_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_LIVENESS_BROKER_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_LIVENESS_BROKER_H_
|
||||
|
||||
#include "include/cppgc/liveness-broker.h"
|
||||
#include "src/base/macros.h"
|
||||
@@ -19,4 +19,4 @@ class V8_EXPORT_PRIVATE LivenessBrokerFactory {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_LIVENESS_BROKER_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_LIVENESS_BROKER_H_
|
||||
@@ -3,8 +3,8 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "include/cppgc/internal/logging.h"
|
||||
#include "include/cppgc/source-location.h"
|
||||
|
||||
#include "include/cppgc/source-location.h"
|
||||
#include "src/base/logging.h"
|
||||
|
||||
namespace cppgc {
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/marker.h"
|
||||
#include "src/heap/cppgc-internal/marker.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
@@ -13,19 +13,19 @@
|
||||
#include "include/cppgc/platform.h"
|
||||
#include "src/base/platform/time.h"
|
||||
#include "src/heap/base/incremental-marking-schedule.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/heap-config.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc/heap-visitor.h"
|
||||
#include "src/heap/cppgc/heap.h"
|
||||
#include "src/heap/cppgc/liveness-broker.h"
|
||||
#include "src/heap/cppgc/marking-state.h"
|
||||
#include "src/heap/cppgc/marking-visitor.h"
|
||||
#include "src/heap/cppgc/marking-worklists.h"
|
||||
#include "src/heap/cppgc/process-heap.h"
|
||||
#include "src/heap/cppgc/stats-collector.h"
|
||||
#include "src/heap/cppgc/write-barrier.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/heap-config.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/heap-visitor.h"
|
||||
#include "src/heap/cppgc-internal/heap.h"
|
||||
#include "src/heap/cppgc-internal/liveness-broker.h"
|
||||
#include "src/heap/cppgc-internal/marking-state.h"
|
||||
#include "src/heap/cppgc-internal/marking-visitor.h"
|
||||
#include "src/heap/cppgc-internal/marking-worklists.h"
|
||||
#include "src/heap/cppgc-internal/process-heap.h"
|
||||
#include "src/heap/cppgc-internal/stats-collector.h"
|
||||
#include "src/heap/cppgc-internal/write-barrier.h"
|
||||
|
||||
#if defined(CPPGC_CAGED_HEAP)
|
||||
#include "include/cppgc/internal/caged-heap-local-data.h"
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_MARKER_H_
|
||||
#define V8_HEAP_CPPGC_MARKER_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_MARKER_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_MARKER_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
@@ -14,14 +14,14 @@
|
||||
#include "src/base/platform/time.h"
|
||||
#include "src/heap/base/incremental-marking-schedule.h"
|
||||
#include "src/heap/base/worklist.h"
|
||||
#include "src/heap/cppgc/concurrent-marker.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/heap-config.h"
|
||||
#include "src/heap/cppgc/marking-state.h"
|
||||
#include "src/heap/cppgc/marking-visitor.h"
|
||||
#include "src/heap/cppgc/marking-worklists.h"
|
||||
#include "src/heap/cppgc/stats-collector.h"
|
||||
#include "src/heap/cppgc/task-handle.h"
|
||||
#include "src/heap/cppgc-internal/concurrent-marker.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/heap-config.h"
|
||||
#include "src/heap/cppgc-internal/marking-state.h"
|
||||
#include "src/heap/cppgc-internal/marking-visitor.h"
|
||||
#include "src/heap/cppgc-internal/marking-worklists.h"
|
||||
#include "src/heap/cppgc-internal/stats-collector.h"
|
||||
#include "src/heap/cppgc-internal/task-handle.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -280,4 +280,4 @@ void MarkerBase::WriteBarrierForObject(HeapObjectHeader& header) {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_MARKER_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_MARKER_H_
|
||||
@@ -2,11 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/marking-state.h"
|
||||
#include "src/heap/cppgc-internal/marking-state.h"
|
||||
|
||||
#include "absl/container/flat_hash_set.h"
|
||||
#include "src/heap/cppgc/heap-base.h"
|
||||
#include "src/heap/cppgc/stats-collector.h"
|
||||
#include "src/heap/cppgc-internal/heap-base.h"
|
||||
#include "src/heap/cppgc-internal/stats-collector.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_MARKING_STATE_H_
|
||||
#define V8_HEAP_CPPGC_MARKING_STATE_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_MARKING_STATE_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_MARKING_STATE_H_
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@@ -13,12 +13,12 @@
|
||||
#include "src/base/macros.h"
|
||||
#include "src/heap/base/cached-unordered-map.h"
|
||||
#include "src/heap/base/stack.h"
|
||||
#include "src/heap/cppgc/compaction-worklists.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc/liveness-broker.h"
|
||||
#include "src/heap/cppgc/marking-worklists.h"
|
||||
#include "src/heap/cppgc-internal/compaction-worklists.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/liveness-broker.h"
|
||||
#include "src/heap/cppgc-internal/marking-worklists.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -529,4 +529,4 @@ void DynamicallyTraceMarkedObject(Visitor& visitor,
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_MARKING_STATE_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_MARKING_STATE_H_
|
||||
@@ -2,14 +2,14 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/marking-verifier.h"
|
||||
#include "src/heap/cppgc-internal/marking-verifier.h"
|
||||
|
||||
#include <optional>
|
||||
|
||||
#include "src/base/logging.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/marking-visitor.h"
|
||||
#include "src/heap/cppgc/object-view.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/marking-visitor.h"
|
||||
#include "src/heap/cppgc-internal/object-view.h"
|
||||
|
||||
#if defined(CPPGC_CAGED_HEAP)
|
||||
#include "include/cppgc/internal/caged-heap-local-data.h"
|
||||
@@ -2,18 +2,18 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_MARKING_VERIFIER_H_
|
||||
#define V8_HEAP_CPPGC_MARKING_VERIFIER_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_MARKING_VERIFIER_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_MARKING_VERIFIER_H_
|
||||
|
||||
#include <optional>
|
||||
|
||||
#include "absl/container/flat_hash_set.h"
|
||||
#include "src/heap/base/stack.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc/heap-visitor.h"
|
||||
#include "src/heap/cppgc/heap.h"
|
||||
#include "src/heap/cppgc/visitor.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/heap-visitor.h"
|
||||
#include "src/heap/cppgc-internal/heap.h"
|
||||
#include "src/heap/cppgc-internal/visitor.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -87,4 +87,4 @@ class V8_EXPORT_PRIVATE MarkingVerifier final : public MarkingVerifierBase {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_MARKING_VERIFIER_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_MARKING_VERIFIER_H_
|
||||
@@ -2,12 +2,12 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/marking-visitor.h"
|
||||
#include "src/heap/cppgc-internal/marking-visitor.h"
|
||||
|
||||
#include "include/cppgc/internal/member-storage.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/heap.h"
|
||||
#include "src/heap/cppgc/marking-state.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/heap.h"
|
||||
#include "src/heap/cppgc-internal/marking-state.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -2,13 +2,13 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_MARKING_VISITOR_H_
|
||||
#define V8_HEAP_CPPGC_MARKING_VISITOR_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_MARKING_VISITOR_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_MARKING_VISITOR_H_
|
||||
|
||||
#include "include/cppgc/trace-trait.h"
|
||||
#include "src/base/macros.h"
|
||||
#include "src/heap/base/stack.h"
|
||||
#include "src/heap/cppgc/visitor.h"
|
||||
#include "src/heap/cppgc-internal/visitor.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -93,4 +93,4 @@ class ConservativeMarkingVisitor : public ConservativeTracingVisitor,
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_MARKING_VISITOR_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_MARKING_VISITOR_H_
|
||||
@@ -3,7 +3,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/marking-worklists.h"
|
||||
#include "src/heap/cppgc-internal/marking-worklists.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -2,14 +2,14 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_MARKING_WORKLISTS_H_
|
||||
#define V8_HEAP_CPPGC_MARKING_WORKLISTS_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_MARKING_WORKLISTS_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_MARKING_WORKLISTS_H_
|
||||
|
||||
#include "absl/container/flat_hash_set.h"
|
||||
#include "include/cppgc/visitor.h"
|
||||
#include "src/base/platform/mutex.h"
|
||||
#include "src/heap/base/worklist.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -204,4 +204,4 @@ bool MarkingWorklists::ExternalMarkingWorklist::IsEmpty() {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_MARKING_WORKLISTS_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_MARKING_WORKLISTS_H_
|
||||
File renamed without changes.
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_MEMBER_STORAGE_H_
|
||||
#define V8_HEAP_CPPGC_MEMBER_STORAGE_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_MEMBER_STORAGE_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_MEMBER_STORAGE_H_
|
||||
|
||||
#include "include/cppgc/internal/member-storage.h"
|
||||
|
||||
@@ -31,4 +31,4 @@ class CageBaseGlobalUpdater final {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_MEMBER_STORAGE_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_MEMBER_STORAGE_H_
|
||||
@@ -2,11 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/memory.h"
|
||||
#include "src/heap/cppgc-internal/memory.h"
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_MEMORY_H_
|
||||
#define V8_HEAP_CPPGC_MEMORY_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_MEMORY_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_MEMORY_H_
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "src/base/macros.h"
|
||||
#include "src/base/sanitizer/asan.h"
|
||||
#include "src/base/sanitizer/msan.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -82,4 +82,4 @@ V8_INLINE void SetMemoryInaccessible(void* address, size_t size) {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_MEMORY_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_MEMORY_H_
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_METRIC_RECORDER_H_
|
||||
#define V8_HEAP_CPPGC_METRIC_RECORDER_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_METRIC_RECORDER_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_METRIC_RECORDER_H_
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
@@ -66,4 +66,4 @@ class MetricRecorder {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_METRIC_RECORDER_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_METRIC_RECORDER_H_
|
||||
File renamed without changes.
@@ -2,25 +2,25 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/object-allocator.h"
|
||||
#include "src/heap/cppgc-internal/object-allocator.h"
|
||||
|
||||
#include "include/cppgc/allocation.h"
|
||||
#include "src/base/logging.h"
|
||||
#include "src/base/macros.h"
|
||||
#include "src/heap/cppgc/free-list.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc/heap-space.h"
|
||||
#include "src/heap/cppgc/heap-visitor.h"
|
||||
#include "src/heap/cppgc/heap.h"
|
||||
#include "src/heap/cppgc/memory.h"
|
||||
#include "src/heap/cppgc/object-start-bitmap.h"
|
||||
#include "src/heap/cppgc/page-memory.h"
|
||||
#include "src/heap/cppgc/platform.h"
|
||||
#include "src/heap/cppgc/prefinalizer-handler.h"
|
||||
#include "src/heap/cppgc/stats-collector.h"
|
||||
#include "src/heap/cppgc/sweeper.h"
|
||||
#include "src/heap/cppgc-internal/free-list.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/heap-space.h"
|
||||
#include "src/heap/cppgc-internal/heap-visitor.h"
|
||||
#include "src/heap/cppgc-internal/heap.h"
|
||||
#include "src/heap/cppgc-internal/memory.h"
|
||||
#include "src/heap/cppgc-internal/object-start-bitmap.h"
|
||||
#include "src/heap/cppgc-internal/page-memory.h"
|
||||
#include "src/heap/cppgc-internal/platform.h"
|
||||
#include "src/heap/cppgc-internal/prefinalizer-handler.h"
|
||||
#include "src/heap/cppgc-internal/stats-collector.h"
|
||||
#include "src/heap/cppgc-internal/sweeper.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -2,21 +2,21 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_OBJECT_ALLOCATOR_H_
|
||||
#define V8_HEAP_CPPGC_OBJECT_ALLOCATOR_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_OBJECT_ALLOCATOR_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_OBJECT_ALLOCATOR_H_
|
||||
|
||||
#include <optional>
|
||||
|
||||
#include "include/cppgc/internal/gc-info.h"
|
||||
#include "include/cppgc/macros.h"
|
||||
#include "src/base/logging.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc/heap-space.h"
|
||||
#include "src/heap/cppgc/memory.h"
|
||||
#include "src/heap/cppgc/object-start-bitmap.h"
|
||||
#include "src/heap/cppgc/raw-heap.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/heap-space.h"
|
||||
#include "src/heap/cppgc-internal/memory.h"
|
||||
#include "src/heap/cppgc-internal/object-start-bitmap.h"
|
||||
#include "src/heap/cppgc-internal/raw-heap.h"
|
||||
|
||||
namespace cppgc {
|
||||
|
||||
@@ -282,4 +282,4 @@ void* ObjectAllocator::AllocateObjectOnSpace(
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_OBJECT_ALLOCATOR_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_OBJECT_ALLOCATOR_H_
|
||||
@@ -2,14 +2,14 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_OBJECT_POISONER_H_
|
||||
#define V8_HEAP_CPPGC_OBJECT_POISONER_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_OBJECT_POISONER_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_OBJECT_POISONER_H_
|
||||
|
||||
#include "src/base/sanitizer/asan.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc/heap-visitor.h"
|
||||
#include "src/heap/cppgc/object-view.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/heap-visitor.h"
|
||||
#include "src/heap/cppgc-internal/object-view.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -35,4 +35,4 @@ class UnmarkedObjectsPoisoner : public HeapVisitor<UnmarkedObjectsPoisoner> {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_OBJECT_POISONER_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_OBJECT_POISONER_H_
|
||||
@@ -4,9 +4,9 @@
|
||||
|
||||
#include "include/cppgc/object-size-trait.h"
|
||||
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc/object-view.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/object-view.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
+5
-5
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_OBJECT_START_BITMAP_H_
|
||||
#define V8_HEAP_CPPGC_OBJECT_START_BITMAP_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_OBJECT_START_BITMAP_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_OBJECT_START_BITMAP_H_
|
||||
|
||||
#include <limits.h>
|
||||
#include <stdint.h>
|
||||
@@ -14,8 +14,8 @@
|
||||
#include "src/base/atomic-utils.h"
|
||||
#include "src/base/bits.h"
|
||||
#include "src/base/macros.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -279,4 +279,4 @@ void PlatformAwareObjectStartBitmap::ClearBit(ConstAddress header_address) {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_OBJECT_START_BITMAP_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_OBJECT_START_BITMAP_H_
|
||||
@@ -2,13 +2,13 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_OBJECT_VIEW_H_
|
||||
#define V8_HEAP_CPPGC_OBJECT_VIEW_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_OBJECT_VIEW_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_OBJECT_VIEW_H_
|
||||
|
||||
#include "include/v8config.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -59,4 +59,4 @@ size_t ObjectView<access_mode>::Size() const {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_OBJECT_VIEW_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_OBJECT_VIEW_H_
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/page-memory.h"
|
||||
#include "src/heap/cppgc-internal/page-memory.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstddef>
|
||||
@@ -11,8 +11,8 @@
|
||||
#include "include/v8config.h"
|
||||
#include "src/base/macros.h"
|
||||
#include "src/base/sanitizer/asan.h"
|
||||
#include "src/heap/cppgc/memory.h"
|
||||
#include "src/heap/cppgc/platform.h"
|
||||
#include "src/heap/cppgc-internal/memory.h"
|
||||
#include "src/heap/cppgc-internal/platform.h"
|
||||
|
||||
#if V8_OS_POSIX
|
||||
#include <errno.h>
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_PAGE_MEMORY_H_
|
||||
#define V8_HEAP_CPPGC_PAGE_MEMORY_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_PAGE_MEMORY_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_PAGE_MEMORY_H_
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
@@ -13,8 +13,8 @@
|
||||
#include "include/cppgc/platform.h"
|
||||
#include "src/base/macros.h"
|
||||
#include "src/base/platform/mutex.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/heap-config.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/heap-config.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -202,4 +202,4 @@ Address PageBackend::Lookup(ConstAddress address) const {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_PAGE_MEMORY_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_PAGE_MEMORY_H_
|
||||
@@ -10,9 +10,9 @@
|
||||
#include "include/cppgc/cross-thread-persistent.h"
|
||||
#include "include/cppgc/persistent.h"
|
||||
#include "src/base/platform/platform.h"
|
||||
#include "src/heap/cppgc/heap-base.h"
|
||||
#include "src/heap/cppgc/platform.h"
|
||||
#include "src/heap/cppgc/process-heap.h"
|
||||
#include "src/heap/cppgc-internal/heap-base.h"
|
||||
#include "src/heap/cppgc-internal/platform.h"
|
||||
#include "src/heap/cppgc-internal/process-heap.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -11,12 +11,12 @@
|
||||
#include "src/base/platform/platform.h"
|
||||
#include "src/base/sanitizer/asan.h"
|
||||
#include "src/base/sanitizer/lsan-page-allocator.h"
|
||||
#include "src/heap/cppgc/gc-info-table.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/platform.h"
|
||||
#include "src/heap/cppgc-internal/gc-info-table.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/platform.h"
|
||||
|
||||
#if defined(CPPGC_CAGED_HEAP)
|
||||
#include "src/heap/cppgc/caged-heap.h"
|
||||
#include "src/heap/cppgc-internal/caged-heap.h"
|
||||
#endif // defined(CPPGC_CAGED_HEAP)
|
||||
|
||||
namespace cppgc {
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_PLATFORM_H_
|
||||
#define V8_HEAP_CPPGC_PLATFORM_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_PLATFORM_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_PLATFORM_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -45,4 +45,4 @@ PageAllocator& GetGlobalPageAllocator();
|
||||
|
||||
} // namespace cppgc::internal
|
||||
|
||||
#endif // V8_HEAP_CPPGC_PLATFORM_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_PLATFORM_H_
|
||||
@@ -9,12 +9,12 @@
|
||||
#include "src/base/logging.h"
|
||||
#include "src/base/macros.h"
|
||||
#include "src/base/platform/platform.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc/heap.h"
|
||||
#include "src/heap/cppgc/page-memory.h"
|
||||
#include "src/heap/cppgc/prefinalizer-handler.h"
|
||||
#include "src/heap/cppgc/process-heap.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/heap.h"
|
||||
#include "src/heap/cppgc-internal/page-memory.h"
|
||||
#include "src/heap/cppgc-internal/prefinalizer-handler.h"
|
||||
#include "src/heap/cppgc-internal/process-heap.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -77,8 +77,7 @@ void SameThreadEnabledCheckingPolicyBase::CheckPointerImpl(
|
||||
} else {
|
||||
// Mixin case. Access the ObjectStartBitmap atomically since sweeping can be
|
||||
// in progress.
|
||||
header =
|
||||
&base_page->ObjectHeaderFromInnerAddress<AccessMode::kAtomic>(ptr);
|
||||
header = &base_page->ObjectHeaderFromInnerAddress<AccessMode::kAtomic>(ptr);
|
||||
DCHECK_LE(header->ObjectStart(), ptr);
|
||||
DCHECK_GT(header->ObjectEnd<AccessMode::kAtomic>(), ptr);
|
||||
}
|
||||
+6
-8
@@ -2,16 +2,16 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/prefinalizer-handler.h"
|
||||
#include "src/heap/cppgc-internal/prefinalizer-handler.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
|
||||
#include "src/base/platform/platform.h"
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc/heap.h"
|
||||
#include "src/heap/cppgc/liveness-broker.h"
|
||||
#include "src/heap/cppgc/stats-collector.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/heap.h"
|
||||
#include "src/heap/cppgc-internal/liveness-broker.h"
|
||||
#include "src/heap/cppgc-internal/stats-collector.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -28,9 +28,7 @@ bool PreFinalizer::operator==(const PreFinalizer& other) const {
|
||||
}
|
||||
|
||||
PreFinalizerHandler::PreFinalizerHandler(HeapBase& heap)
|
||||
: current_ordered_pre_finalizers_(&ordered_pre_finalizers_),
|
||||
heap_(heap)
|
||||
{
|
||||
: current_ordered_pre_finalizers_(&ordered_pre_finalizers_), heap_(heap) {
|
||||
DCHECK(CurrentThreadIsCreationThread());
|
||||
}
|
||||
|
||||
+3
-3
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_PREFINALIZER_HANDLER_H_
|
||||
#define V8_HEAP_CPPGC_PREFINALIZER_HANDLER_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_PREFINALIZER_HANDLER_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_PREFINALIZER_HANDLER_H_
|
||||
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
@@ -60,4 +60,4 @@ class PreFinalizerHandler final {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_PREFINALIZER_HANDLER_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_PREFINALIZER_HANDLER_H_
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/process-heap-statistics.h"
|
||||
#include "src/heap/cppgc-internal/process-heap-statistics.h"
|
||||
|
||||
namespace cppgc {
|
||||
|
||||
+4
-4
@@ -2,11 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_PROCESS_HEAP_STATISTICS_H_
|
||||
#define V8_HEAP_CPPGC_PROCESS_HEAP_STATISTICS_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_PROCESS_HEAP_STATISTICS_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_PROCESS_HEAP_STATISTICS_H_
|
||||
|
||||
#include "include/cppgc/process-heap-statistics.h"
|
||||
#include "src/heap/cppgc/stats-collector.h"
|
||||
#include "src/heap/cppgc-internal/stats-collector.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -70,4 +70,4 @@ class ProcessHeapStatisticsUpdater {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_PROCESS_HEAP_STATISTICS_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_PROCESS_HEAP_STATISTICS_H_
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/process-heap.h"
|
||||
#include "src/heap/cppgc-internal/process-heap.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
@@ -10,8 +10,8 @@
|
||||
#include "src/base/lazy-instance.h"
|
||||
#include "src/base/logging.h"
|
||||
#include "src/base/platform/mutex.h"
|
||||
#include "src/heap/cppgc/heap-base.h"
|
||||
#include "src/heap/cppgc/page-memory.h"
|
||||
#include "src/heap/cppgc-internal/heap-base.h"
|
||||
#include "src/heap/cppgc-internal/page-memory.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -2,14 +2,14 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_PROCESS_HEAP_H_
|
||||
#define V8_HEAP_CPPGC_PROCESS_HEAP_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_PROCESS_HEAP_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_PROCESS_HEAP_H_
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "src/base/macros.h"
|
||||
#include "src/base/platform/mutex.h"
|
||||
#include "src/heap/cppgc/trace-event.h"
|
||||
#include "src/heap/cppgc-internal/trace-event.h"
|
||||
|
||||
namespace cppgc::internal {
|
||||
|
||||
@@ -102,4 +102,4 @@ HeapRegistry::Subscription::~Subscription() {
|
||||
|
||||
} // namespace cppgc::internal
|
||||
|
||||
#endif // V8_HEAP_CPPGC_PROCESS_HEAP_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_PROCESS_HEAP_H_
|
||||
@@ -2,9 +2,9 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/raw-heap.h"
|
||||
#include "src/heap/cppgc-internal/raw-heap.h"
|
||||
|
||||
#include "src/heap/cppgc/heap-space.h"
|
||||
#include "src/heap/cppgc-internal/heap-space.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_RAW_HEAP_H_
|
||||
#define V8_HEAP_CPPGC_RAW_HEAP_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_RAW_HEAP_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_RAW_HEAP_H_
|
||||
|
||||
#include <iterator>
|
||||
#include <memory>
|
||||
@@ -108,4 +108,4 @@ class V8_EXPORT_PRIVATE RawHeap final {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_RAW_HEAP_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_RAW_HEAP_H_
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/remembered-set.h"
|
||||
#include "src/heap/cppgc-internal/remembered-set.h"
|
||||
|
||||
#if defined(CPPGC_YOUNG_GENERATION)
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
#include "include/cppgc/member.h"
|
||||
#include "include/cppgc/visitor.h"
|
||||
#include "src/heap/base/basic-slot-set.h"
|
||||
#include "src/heap/cppgc/heap-base.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc/heap-visitor.h"
|
||||
#include "src/heap/cppgc/marking-state.h"
|
||||
#include "src/heap/cppgc-internal/heap-base.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/heap-visitor.h"
|
||||
#include "src/heap/cppgc-internal/marking-state.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_REMEMBERED_SET_H_
|
||||
#define V8_HEAP_CPPGC_REMEMBERED_SET_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_REMEMBERED_SET_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_REMEMBERED_SET_H_
|
||||
|
||||
#include "include/v8config.h"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "src/base/macros.h"
|
||||
#include "src/heap/base/basic-slot-set.h"
|
||||
#include "src/heap/cppgc/marking-worklists.h"
|
||||
#include "src/heap/cppgc-internal/marking-worklists.h"
|
||||
|
||||
namespace cppgc {
|
||||
|
||||
@@ -93,4 +93,4 @@ class V8_EXPORT_PRIVATE OldToNewRememberedSet final {
|
||||
|
||||
#endif // defined(CPPGC_YOUNG_GENERATION)
|
||||
|
||||
#endif // V8_HEAP_CPPGC_REMEMBERED_SET_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_REMEMBERED_SET_H_
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/stats-collector.h"
|
||||
#include "src/heap/cppgc-internal/stats-collector.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <atomic>
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "src/base/atomicops.h"
|
||||
#include "src/base/logging.h"
|
||||
#include "src/base/platform/time.h"
|
||||
#include "src/heap/cppgc/metric-recorder.h"
|
||||
#include "src/heap/cppgc-internal/metric-recorder.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_STATS_COLLECTOR_H_
|
||||
#define V8_HEAP_CPPGC_STATS_COLLECTOR_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_STATS_COLLECTOR_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_STATS_COLLECTOR_H_
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
@@ -16,9 +16,9 @@
|
||||
#include "src/base/logging.h"
|
||||
#include "src/base/macros.h"
|
||||
#include "src/base/platform/time.h"
|
||||
#include "src/heap/cppgc/garbage-collector.h"
|
||||
#include "src/heap/cppgc/metric-recorder.h"
|
||||
#include "src/heap/cppgc/trace-event.h"
|
||||
#include "src/heap/cppgc-internal/garbage-collector.h"
|
||||
#include "src/heap/cppgc-internal/metric-recorder.h"
|
||||
#include "src/heap/cppgc-internal/trace-event.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -94,8 +94,7 @@ class V8_EXPORT_PRIVATE StatsCollector final {
|
||||
|
||||
enum ScopeId {
|
||||
#define CPPGC_DECLARE_ENUM(name) k##name,
|
||||
CPPGC_FOR_ALL_HISTOGRAM_SCOPES(CPPGC_DECLARE_ENUM)
|
||||
kNumHistogramScopeIds,
|
||||
CPPGC_FOR_ALL_HISTOGRAM_SCOPES(CPPGC_DECLARE_ENUM) kNumHistogramScopeIds,
|
||||
CPPGC_FOR_ALL_SCOPES(CPPGC_DECLARE_ENUM)
|
||||
#undef CPPGC_DECLARE_ENUM
|
||||
kNumScopeIds,
|
||||
@@ -528,4 +527,4 @@ void StatsCollector::InternalScope<trace_category,
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_STATS_COLLECTOR_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_STATS_COLLECTOR_H_
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/sweeper.h"
|
||||
#include "src/heap/cppgc-internal/sweeper.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <atomic>
|
||||
@@ -14,21 +14,21 @@
|
||||
#include "include/cppgc/platform.h"
|
||||
#include "src/base/platform/mutex.h"
|
||||
#include "src/base/platform/time.h"
|
||||
#include "src/heap/cppgc/free-list.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/heap-base.h"
|
||||
#include "src/heap/cppgc/heap-config.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc/heap-space.h"
|
||||
#include "src/heap/cppgc/heap-visitor.h"
|
||||
#include "src/heap/cppgc/memory.h"
|
||||
#include "src/heap/cppgc/object-poisoner.h"
|
||||
#include "src/heap/cppgc/object-start-bitmap.h"
|
||||
#include "src/heap/cppgc/page-memory.h"
|
||||
#include "src/heap/cppgc/raw-heap.h"
|
||||
#include "src/heap/cppgc/stats-collector.h"
|
||||
#include "src/heap/cppgc/task-handle.h"
|
||||
#include "src/heap/cppgc-internal/free-list.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/heap-base.h"
|
||||
#include "src/heap/cppgc-internal/heap-config.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/heap-space.h"
|
||||
#include "src/heap/cppgc-internal/heap-visitor.h"
|
||||
#include "src/heap/cppgc-internal/memory.h"
|
||||
#include "src/heap/cppgc-internal/object-poisoner.h"
|
||||
#include "src/heap/cppgc-internal/object-start-bitmap.h"
|
||||
#include "src/heap/cppgc-internal/page-memory.h"
|
||||
#include "src/heap/cppgc-internal/raw-heap.h"
|
||||
#include "src/heap/cppgc-internal/stats-collector.h"
|
||||
#include "src/heap/cppgc-internal/task-handle.h"
|
||||
|
||||
namespace cppgc::internal {
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_SWEEPER_H_
|
||||
#define V8_HEAP_CPPGC_SWEEPER_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_SWEEPER_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_SWEEPER_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "src/base/macros.h"
|
||||
#include "src/base/platform/time.h"
|
||||
#include "src/heap/cppgc/heap-config.h"
|
||||
#include "src/heap/cppgc/memory.h"
|
||||
#include "src/heap/cppgc/stats-collector.h"
|
||||
#include "src/heap/cppgc-internal/heap-config.h"
|
||||
#include "src/heap/cppgc-internal/memory.h"
|
||||
#include "src/heap/cppgc-internal/stats-collector.h"
|
||||
|
||||
namespace cppgc::internal {
|
||||
|
||||
@@ -86,4 +86,4 @@ class V8_EXPORT_PRIVATE Sweeper final {
|
||||
|
||||
} // namespace cppgc::internal
|
||||
|
||||
#endif // V8_HEAP_CPPGC_SWEEPER_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_SWEEPER_H_
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_TASK_HANDLE_H_
|
||||
#define V8_HEAP_CPPGC_TASK_HANDLE_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_TASK_HANDLE_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_TASK_HANDLE_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
@@ -50,4 +50,4 @@ struct SingleThreadedHandle {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_TASK_HANDLE_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_TASK_HANDLE_H_
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "include/cppgc/testing.h"
|
||||
|
||||
#include "src/base/logging.h"
|
||||
#include "src/heap/cppgc/heap-base.h"
|
||||
#include "src/heap/cppgc-internal/heap-base.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace testing {
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_TRACE_EVENT_H_
|
||||
#define V8_HEAP_CPPGC_TRACE_EVENT_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_TRACE_EVENT_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_TRACE_EVENT_H_
|
||||
|
||||
#if !CPPGC_IS_STANDALONE
|
||||
#include "src/tracing/trace-event.h"
|
||||
@@ -242,4 +242,4 @@ static V8_INLINE uint64_t AddTraceEvent(
|
||||
|
||||
#endif // !CPPGC_IS_STANDALONE
|
||||
|
||||
#endif // V8_HEAP_CPPGC_TRACE_EVENT_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_TRACE_EVENT_H_
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#include "include/cppgc/trace-trait.h"
|
||||
|
||||
#include "src/heap/cppgc/gc-info-table.h"
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/gc-info-table.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -2,11 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_UNMARKER_H_
|
||||
#define V8_HEAP_CPPGC_UNMARKER_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_UNMARKER_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_UNMARKER_H_
|
||||
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/heap-visitor.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-visitor.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -39,4 +39,4 @@ class SequentialUnmarker final : private HeapVisitor<SequentialUnmarker> {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_UNMARKER_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_UNMARKER_H_
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/virtual-memory.h"
|
||||
#include "src/heap/cppgc-internal/virtual-memory.h"
|
||||
|
||||
#include "include/cppgc/platform.h"
|
||||
#include "src/base/macros.h"
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_VIRTUAL_MEMORY_H_
|
||||
#define V8_HEAP_CPPGC_VIRTUAL_MEMORY_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_VIRTUAL_MEMORY_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_VIRTUAL_MEMORY_H_
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
@@ -60,4 +60,4 @@ class V8_EXPORT_PRIVATE VirtualMemory {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_VIRTUAL_MEMORY_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_VIRTUAL_MEMORY_H_
|
||||
@@ -2,19 +2,19 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/visitor.h"
|
||||
#include "src/heap/cppgc-internal/visitor.h"
|
||||
|
||||
#include "src/base/sanitizer/asan.h"
|
||||
#include "src/base/sanitizer/msan.h"
|
||||
#include "src/heap/cppgc/gc-info-table.h"
|
||||
#include "src/heap/cppgc/heap-base.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc/object-view.h"
|
||||
#include "src/heap/cppgc/page-memory.h"
|
||||
#include "src/heap/cppgc-internal/gc-info-table.h"
|
||||
#include "src/heap/cppgc-internal/heap-base.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/object-view.h"
|
||||
#include "src/heap/cppgc-internal/page-memory.h"
|
||||
|
||||
#if defined(CPPGC_CAGED_HEAP)
|
||||
#include "src/heap/cppgc/caged-heap.h"
|
||||
#include "src/heap/cppgc-internal/caged-heap.h"
|
||||
#endif // defined(CPPGC_CAGED_HEAP)
|
||||
|
||||
namespace cppgc {
|
||||
@@ -2,11 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_VISITOR_H_
|
||||
#define V8_HEAP_CPPGC_VISITOR_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_VISITOR_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_VISITOR_H_
|
||||
|
||||
#include "include/cppgc/visitor.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
|
||||
namespace cppgc {
|
||||
namespace internal {
|
||||
@@ -76,4 +76,4 @@ class V8_EXPORT_PRIVATE ConservativeTracingVisitor {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_VISITOR_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_VISITOR_H_
|
||||
@@ -2,17 +2,17 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "src/heap/cppgc/write-barrier.h"
|
||||
#include "src/heap/cppgc-internal/write-barrier.h"
|
||||
|
||||
#include "include/cppgc/heap-consistency.h"
|
||||
#include "include/cppgc/internal/member-storage.h"
|
||||
#include "include/cppgc/internal/pointer-policies.h"
|
||||
#include "src/heap/cppgc/globals.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/heap-page.h"
|
||||
#include "src/heap/cppgc/heap.h"
|
||||
#include "src/heap/cppgc/marker.h"
|
||||
#include "src/heap/cppgc/marking-visitor.h"
|
||||
#include "src/heap/cppgc-internal/globals.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/heap-page.h"
|
||||
#include "src/heap/cppgc-internal/heap.h"
|
||||
#include "src/heap/cppgc-internal/marker.h"
|
||||
#include "src/heap/cppgc-internal/marking-visitor.h"
|
||||
|
||||
#if defined(CPPGC_CAGED_HEAP)
|
||||
#include "include/cppgc/internal/caged-heap-local-data.h"
|
||||
@@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef V8_HEAP_CPPGC_WRITE_BARRIER_H_
|
||||
#define V8_HEAP_CPPGC_WRITE_BARRIER_H_
|
||||
#ifndef V8_HEAP_CPPGC_INTERNAL_WRITE_BARRIER_H_
|
||||
#define V8_HEAP_CPPGC_INTERNAL_WRITE_BARRIER_H_
|
||||
|
||||
#include "include/cppgc/internal/write-barrier.h"
|
||||
#include "src/base/lazy-instance.h"
|
||||
@@ -45,4 +45,4 @@ class V8_EXPORT_PRIVATE YoungGenerationEnabler final {
|
||||
} // namespace internal
|
||||
} // namespace cppgc
|
||||
|
||||
#endif // V8_HEAP_CPPGC_WRITE_BARRIER_H_
|
||||
#endif // V8_HEAP_CPPGC_INTERNAL_WRITE_BARRIER_H_
|
||||
@@ -23,29 +23,29 @@
|
||||
#include "src/handles/handles.h"
|
||||
#include "src/handles/traced-handles.h"
|
||||
#include "src/heap/base/stack.h"
|
||||
#include "src/heap/cppgc-internal/concurrent-marker.h"
|
||||
#include "src/heap/cppgc-internal/gc-info-table.h"
|
||||
#include "src/heap/cppgc-internal/heap-base.h"
|
||||
#include "src/heap/cppgc-internal/heap-object-header.h"
|
||||
#include "src/heap/cppgc-internal/marker.h"
|
||||
#include "src/heap/cppgc-internal/marking-state.h"
|
||||
#include "src/heap/cppgc-internal/marking-visitor.h"
|
||||
#include "src/heap/cppgc-internal/metric-recorder.h"
|
||||
#include "src/heap/cppgc-internal/object-allocator.h"
|
||||
#include "src/heap/cppgc-internal/page-memory.h"
|
||||
#include "src/heap/cppgc-internal/platform.h"
|
||||
#include "src/heap/cppgc-internal/prefinalizer-handler.h"
|
||||
#include "src/heap/cppgc-internal/raw-heap.h"
|
||||
#include "src/heap/cppgc-internal/stats-collector.h"
|
||||
#include "src/heap/cppgc-internal/sweeper.h"
|
||||
#include "src/heap/cppgc-internal/unmarker.h"
|
||||
#include "src/heap/cppgc-internal/visitor.h"
|
||||
#include "src/heap/cppgc-js/cpp-marking-state.h"
|
||||
#include "src/heap/cppgc-js/cpp-snapshot.h"
|
||||
#include "src/heap/cppgc-js/unified-heap-marking-state-inl.h"
|
||||
#include "src/heap/cppgc-js/unified-heap-marking-state.h"
|
||||
#include "src/heap/cppgc-js/unified-heap-marking-verifier.h"
|
||||
#include "src/heap/cppgc-js/unified-heap-marking-visitor.h"
|
||||
#include "src/heap/cppgc/concurrent-marker.h"
|
||||
#include "src/heap/cppgc/gc-info-table.h"
|
||||
#include "src/heap/cppgc/heap-base.h"
|
||||
#include "src/heap/cppgc/heap-object-header.h"
|
||||
#include "src/heap/cppgc/marker.h"
|
||||
#include "src/heap/cppgc/marking-state.h"
|
||||
#include "src/heap/cppgc/marking-visitor.h"
|
||||
#include "src/heap/cppgc/metric-recorder.h"
|
||||
#include "src/heap/cppgc/object-allocator.h"
|
||||
#include "src/heap/cppgc/page-memory.h"
|
||||
#include "src/heap/cppgc/platform.h"
|
||||
#include "src/heap/cppgc/prefinalizer-handler.h"
|
||||
#include "src/heap/cppgc/raw-heap.h"
|
||||
#include "src/heap/cppgc/stats-collector.h"
|
||||
#include "src/heap/cppgc/sweeper.h"
|
||||
#include "src/heap/cppgc/unmarker.h"
|
||||
#include "src/heap/cppgc/visitor.h"
|
||||
#include "src/heap/gc-tracer.h"
|
||||
#include "src/heap/heap-controller.h"
|
||||
#include "src/heap/heap.h"
|
||||
|
||||
@@ -18,10 +18,10 @@ static_assert(
|
||||
#include "src/base/flags.h"
|
||||
#include "src/base/macros.h"
|
||||
#include "src/base/utils/random-number-generator.h"
|
||||
#include "src/heap/cppgc-internal/heap-base.h"
|
||||
#include "src/heap/cppgc-internal/marker.h"
|
||||
#include "src/heap/cppgc-internal/stats-collector.h"
|
||||
#include "src/heap/cppgc-js/cross-heap-remembered-set.h"
|
||||
#include "src/heap/cppgc/heap-base.h"
|
||||
#include "src/heap/cppgc/marker.h"
|
||||
#include "src/heap/cppgc/stats-collector.h"
|
||||
#include "src/logging/metrics.h"
|
||||
#include "src/objects/cpp-heap-object-wrapper.h"
|
||||
#include "src/objects/js-objects.h"
|
||||
|
||||
Loaded 100 of 160 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user