Home
last modified time | relevance | path

Searched refs:CppHeap (Results 1 - 15 of 15) sorted by relevance

/third_party/node/deps/v8/src/heap/cppgc-js/
H A Dcpp-heap.cc112 std::unique_ptr<CppHeap> CppHeap::Create(v8::Platform* platform, in Create()
114 return std::make_unique<internal::CppHeap>(platform, params.custom_spaces, in Create()
118 cppgc::AllocationHandle& CppHeap::GetAllocationHandle() { in GetAllocationHandle()
119 return internal::CppHeap::From(this)->object_allocator(); in GetAllocationHandle()
122 cppgc::HeapHandle& CppHeap::GetHeapHandle() { in GetHeapHandle()
123 return *internal::CppHeap::From(this); in GetHeapHandle()
126 void CppHeap::Terminate() { internal::CppHeap::From(this)->Terminate(); } in Terminate()
128 cppgc::HeapStatistics CppHeap
424 CppHeap::CppHeap( CppHeap() function in v8::internal::CppHeap
[all...]
H A Dcpp-heap.h33 class V8_EXPORT_PRIVATE CppHeap final
35 public v8::CppHeap,
53 explicit MetricRecorderAdapter(CppHeap& cpp_heap) : cpp_heap_(cpp_heap) {} in MetricRecorderAdapter()
82 CppHeap& cpp_heap_;
97 explicit PauseConcurrentMarkingScope(CppHeap*);
104 static CppHeap* From(v8::CppHeap* heap) { in From()
105 return static_cast<CppHeap*>(heap); in From()
107 static const CppHeap* From(const v8::CppHeap* hea in From()
[all...]
H A Dcpp-snapshot.cc413 CppGraphBuilderImpl(CppHeap& cpp_heap, v8::EmbedderGraph& graph) in CppGraphBuilderImpl()
548 CppHeap& cpp_heap_;
906 CppHeap* cpp_heap = static_cast<CppHeap*>(data); in Run()
/third_party/node/deps/v8/include/
H A Dv8-cppgc.h30 class CppHeap;
49 * be used with `CppHeap`.
74 * `embedder_id_for_garbage_collected` will be considered by CppHeap.
90 class V8_EXPORT CppHeap { class
92 static std::unique_ptr<CppHeap> Create(v8::Platform* platform,
95 virtual ~CppHeap() = default;
105 * other APIs. Valid as long as the underlying `CppHeap` is alive.
120 * \returns current CppHeap statistics regarding memory consumption
159 CppHeap() = default;
161 friend class internal::CppHeap;
[all...]
H A Dv8-isolate.h32 class CppHeap;
956 * embedder maintains ownership of the CppHeap. At most one C++ heap can be
962 void AttachCppHeap(CppHeap*);
977 CppHeap* GetCppHeap() const;
/third_party/node/deps/v8/include/v8-include/
H A Dv8-cppgc.h30 class CppHeap;
49 * be used with `CppHeap`.
74 * `embedder_id_for_garbage_collected` will be considered by CppHeap.
112 class V8_EXPORT CppHeap { class
114 static std::unique_ptr<CppHeap> Create(v8::Platform* platform,
117 virtual ~CppHeap() = default;
127 * other APIs. Valid as long as the underlying `CppHeap` is alive.
142 * \returns current CppHeap statistics regarding memory consumption
181 CppHeap() = default;
183 friend class internal::CppHeap;
[all...]
H A Dv8-isolate.h32 class CppHeap;
941 * embedder maintains ownership of the CppHeap. At most one C++ heap can be
945 * CppHeap.
947 void AttachCppHeap(CppHeap*);
958 CppHeap* GetCppHeap() const;
/third_party/node/deps/v8/src/heap/
H A Dembedder-tracing.cc27 void LocalEmbedderHeapTracer::SetCppHeap(CppHeap* cpp_heap) { in SetCppHeap()
33 CppHeap::GarbageCollectionFlags ConvertTraceFlags( in ConvertTraceFlags()
35 CppHeap::GarbageCollectionFlags result; in ConvertTraceFlags()
37 result |= CppHeap::GarbageCollectionFlagValues::kForced; in ConvertTraceFlags()
39 result |= CppHeap::GarbageCollectionFlagValues::kReduceMemory; in ConvertTraceFlags()
H A Dembedder-tracing.h91 // CppHeap is not detached from Isolate here. Detaching is done explciitly in ~LocalEmbedderHeapTracer()
92 // on Isolate/Heap/CppHeap destruction. in ~LocalEmbedderHeapTracer()
96 // This method doesn't take CppHeap into account.
103 void SetCppHeap(CppHeap* cpp_heap);
179 CppHeap* cpp_heap() { in cpp_heap()
195 CppHeap* cpp_heap_ = nullptr;
219 // The value is overriden by CppHeap with values that the embedder provided
H A Dgc-tracer.cc557 CppHeap::From(heap_->cpp_heap())->GetMetricRecorder(); in NotifyFullCppGCCompleted()
571 CppHeap::From(heap_->cpp_heap())->GetMetricRecorder(); in NotifyYoungCppGCCompleted()
1482 auto* cpp_heap = v8::internal::CppHeap::From(heap_->cpp_heap()); in ReportFullCycleToRecorder()
1623 CppHeap::MetricRecorderAdapter::kMaxBatchedEvents; in ReportIncrementalMarkingStepToRecorder()
1632 cppgc_event = v8::internal::CppHeap::From(heap_->cpp_heap()) in ReportIncrementalMarkingStepToRecorder()
1651 CppHeap::MetricRecorderAdapter::kMaxBatchedEvents; in ReportIncrementalSweepingStepToRecorder()
1678 auto* cpp_heap = v8::internal::CppHeap::From(heap_->cpp_heap()); in ReportYoungCycleToRecorder()
H A Dheap.cc1830 // CppHeap needs a stack marker at the top of all entry points to allow in CollectGarbage()
1836 static_cast<v8::internal::CppHeap*>(cpp_heap()) in CollectGarbage()
2033 !CppHeap::From(cpp_heap())->sweeper().IsSweepingInProgress()); in CompleteSweepingFull()
2367 CppHeap::From(cpp_heap()) in PerformGarbageCollection()
2368 ->RunMinorGC(with_stack ? CppHeap::StackState::kMayContainHeapPointers in PerformGarbageCollection()
2369 : CppHeap::StackState::kNoHeapPointers); in PerformGarbageCollection()
2469 if (cpp_heap()) CppHeap::From(cpp_heap())->FinishSweepingIfRunning(); in CompleteSweepingYoung()
2652 CppHeap::PauseConcurrentMarkingScope pause_cpp_marking( in MinorMarkCompact()
2653 CppHeap::From(cpp_heap_)); in MinorMarkCompact()
2702 CppHeap in EvacuateYoungGeneration()
[all...]
H A Dheap.h78 class CppHeap;
1167 V8_EXPORT_PRIVATE void AttachCppHeap(v8::CppHeap* cpp_heap);
1170 v8::CppHeap* cpp_heap() const { return cpp_heap_; } in cpp_heap()
2322 v8::CppHeap* cpp_heap_ = nullptr;
H A Dconcurrent-marking.cc461 auto* cpp_heap = CppHeap::From(heap_->cpp_heap()); in Run()
H A Dmark-compact.cc597 auto* cpp_heap = CppHeap::From(heap_->cpp_heap()); in StartMarking()
694 CppHeap::From(heap()->cpp_heap())->FinishSweepingIfOutOfWork(); in FinishSweepingIfOutOfWork()
726 CppHeap::From(heap()->cpp_heap())->FinishSweepingIfRunning(); in EnsureSweepingCompleted()
728 !CppHeap::From(heap()->cpp_heap())->sweeper().IsSweepingInProgress()); in EnsureSweepingCompleted()
1025 if (auto* cpp_heap = CppHeap::From(heap_->cpp_heap())) { in FinishConcurrentMarking()
/third_party/node/deps/v8/src/api/
H A Dapi.cc8511 void Isolate::AttachCppHeap(CppHeap* cpp_heap) { in AttachCppHeap()
8522 CppHeap* Isolate::GetCppHeap() const { in GetCppHeap()

Completed in 52 milliseconds