Home
last modified time | relevance | path

Searched refs:cpp_heap (Results 1 – 11 of 11) sorted by relevance

/third_party/node/deps/v8/src/heap/
Dembedder-tracing.cc27 void LocalEmbedderHeapTracer::SetCppHeap(CppHeap* cpp_heap) { in SetCppHeap() argument
29 cpp_heap_ = cpp_heap; in SetCppHeap()
47 cpp_heap()->InitializeTracing( in PrepareForTrace()
58 cpp_heap()->StartTracing(); in TracePrologue()
72 cpp_heap()->TraceEpilogue(); in TraceEpilogue()
96 cpp_heap()->EnterFinalPause(embedder_stack_state_); in EnterFinalPause()
105 return cpp_heap()->AdvanceTracing(max_duration); in Trace()
111 return !InUse() || (cpp_heap_ ? cpp_heap()->IsTracingDone() in IsRemoteTracingDone()
Dembedder-tracing.h103 void SetCppHeap(CppHeap* cpp_heap);
179 CppHeap* cpp_heap() { in cpp_heap() function
182 DCHECK_IMPLIES(isolate_, cpp_heap_ == isolate_->heap()->cpp_heap()); in cpp_heap()
188 return cpp_heap()->wrapper_descriptor(); in wrapper_descriptor()
Dgc-tracer.cc500 if (heap_->cpp_heap() && !notified_full_cppgc_completed_) return; in StopFullCycleIfNeeded()
512 if (heap_->cpp_heap() && notified_young_cppgc_running_ && in StopYoungCycleIfNeeded()
555 DCHECK(heap_->cpp_heap()); in NotifyFullCppGCCompleted()
557 CppHeap::From(heap_->cpp_heap())->GetMetricRecorder(); in NotifyFullCppGCCompleted()
568 DCHECK(heap_->cpp_heap()); in NotifyYoungCppGCCompleted()
571 CppHeap::From(heap_->cpp_heap())->GetMetricRecorder(); in NotifyYoungCppGCCompleted()
1482 auto* cpp_heap = v8::internal::CppHeap::From(heap_->cpp_heap()); in ReportFullCycleToRecorder() local
1483 DCHECK_IMPLIES(cpp_heap, in ReportFullCycleToRecorder()
1484 cpp_heap->GetMetricRecorder()->FullGCMetricsReportPending()); in ReportFullCycleToRecorder()
1491 if (cpp_heap) { in ReportFullCycleToRecorder()
[all …]
Dconcurrent-marking.cc461 auto* cpp_heap = CppHeap::From(heap_->cpp_heap()); in Run() local
463 marking_worklists_, cpp_heap in Run()
464 ? cpp_heap->CreateCppMarkingState() in Run()
Dheap.cc1829 if (collector == GarbageCollector::MARK_COMPACTOR && cpp_heap()) { in CollectGarbage()
1836 static_cast<v8::internal::CppHeap*>(cpp_heap()) in CollectGarbage()
2032 DCHECK_IMPLIES(cpp_heap(), in CompleteSweepingFull()
2033 !CppHeap::From(cpp_heap())->sweeper().IsSweepingInProgress()); in CompleteSweepingFull()
2365 if (cpp_heap() && IsYoungGenerationCollector(collector)) { in PerformGarbageCollection()
2367 CppHeap::From(cpp_heap()) in PerformGarbageCollection()
2469 if (cpp_heap()) CppHeap::From(cpp_heap())->FinishSweepingIfRunning(); in CompleteSweepingYoung()
6013 void Heap::AttachCppHeap(v8::CppHeap* cpp_heap) { in AttachCppHeap() argument
6014 CppHeap::From(cpp_heap)->AttachIsolate(isolate()); in AttachCppHeap()
6015 cpp_heap_ = cpp_heap; in AttachCppHeap()
[all …]
Dmark-compact.cc597 auto* cpp_heap = CppHeap::From(heap_->cpp_heap()); in StartMarking() local
600 cpp_heap ? cpp_heap->CreateCppMarkingStateForMutatorThread() in StartMarking()
691 if (heap()->cpp_heap()) { in FinishSweepingIfOutOfWork()
694 CppHeap::From(heap()->cpp_heap())->FinishSweepingIfOutOfWork(); in FinishSweepingIfOutOfWork()
723 heap()->cpp_heap()) { in EnsureSweepingCompleted()
726 CppHeap::From(heap()->cpp_heap())->FinishSweepingIfRunning(); in EnsureSweepingCompleted()
728 !CppHeap::From(heap()->cpp_heap())->sweeper().IsSweepingInProgress()); in EnsureSweepingCompleted()
732 !heap()->cpp_heap(), in EnsureSweepingCompleted()
1025 if (auto* cpp_heap = CppHeap::From(heap_->cpp_heap())) { in FinishConcurrentMarking() local
1026 cpp_heap->FinishConcurrentMarkingIfNeeded(); in FinishConcurrentMarking()
Dheap.h1167 V8_EXPORT_PRIVATE void AttachCppHeap(v8::CppHeap* cpp_heap);
1170 v8::CppHeap* cpp_heap() const { return cpp_heap_; } in cpp_heap() function
/third_party/node/deps/v8/src/heap/cppgc-js/
Dcpp-heap.h53 explicit MetricRecorderAdapter(CppHeap& cpp_heap) : cpp_heap_(cpp_heap) {} in MetricRecorderAdapter() argument
Dcpp-snapshot.cc413 CppGraphBuilderImpl(CppHeap& cpp_heap, v8::EmbedderGraph& graph) in CppGraphBuilderImpl() argument
414 : cpp_heap_(cpp_heap), graph_(graph) {} in CppGraphBuilderImpl()
906 CppHeap* cpp_heap = static_cast<CppHeap*>(data); in Run() local
907 CHECK_NOT_NULL(cpp_heap); in Run()
909 CppGraphBuilderImpl graph_builder(*cpp_heap, *graph); in Run()
Dcpp-heap.cc240 UnifiedHeapMarker(Heap* v8_heap, cppgc::internal::HeapBase& cpp_heap,
906 CppHeap* cpp_heap) { in PauseConcurrentMarkingScope() argument
907 if (cpp_heap && cpp_heap->marker()) { in PauseConcurrentMarkingScope()
908 pause_scope_.emplace(*cpp_heap->marker()); in PauseConcurrentMarkingScope()
/third_party/node/deps/v8/src/api/
Dapi.cc8478 CHECK_NULL(isolate->heap()->cpp_heap()); in SetEmbedderHeapTracer()
8492 void Isolate::AttachCppHeap(CppHeap* cpp_heap) { in AttachCppHeap() argument
8495 isolate->heap()->AttachCppHeap(cpp_heap); in AttachCppHeap()
8505 return isolate->heap()->cpp_heap(); in GetCppHeap()