Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/heap/
Dembedder-tracing.cc117 : tracer_(tracer), wrapper_descriptor_(tracer->wrapper_descriptor_) { in ProcessingScope()
118 DCHECK(!tracer_->cpp_heap_); in ProcessingScope()
123 DCHECK(!tracer_->cpp_heap_); in ~ProcessingScope()
125 tracer_->remote_tracer_->RegisterV8References(std::move(wrapper_cache_)); in ~ProcessingScope()
143 if (ExtractWrappableInfo(tracer_->isolate_, js_object, wrapper_descriptor_, in TracePossibleWrapper()
151 DCHECK(!tracer_->cpp_heap_); in FlushWrapperCacheIfFull()
153 tracer_->remote_tracer_->RegisterV8References(std::move(wrapper_cache_)); in FlushWrapperCacheIfFull()
210 return !tracer_ || tracer_->IsRootForNonTracingGC(handle); in IsRoot()
217 DCHECK(tracer_); in ResetRoot()
218 tracer_->ResetHandleInNonTracingGC(handle); in ResetRoot()
Dgc-tracer-inl.h33 : tracer_(tracer), in Scope()
36 start_time_(tracer_->MonotonicallyIncreasingTimeInMs()) { in Scope()
43 runtime_stats_ = tracer_->heap_->isolate_->counters()->runtime_call_stats(); in Scope()
55 double duration_ms = tracer_->MonotonicallyIncreasingTimeInMs() - start_time_; in ~Scope()
56 tracer_->AddScopeSample(scope_, duration_ms); in ~Scope()
67 tracer_->heap_->isolate_->GetCurrentLongTaskStats(); in ~Scope()
Dembedder-tracing.h32 void SetTracer(EmbedderHeapTracer* tracer) { tracer_ = tracer; } in SetTracer()
35 EmbedderHeapTracer* tracer_ = nullptr;
75 LocalEmbedderHeapTracer* const tracer_; variable
Dsweeper.cc73 : sweeper_(sweeper), tracer_(isolate->heap()->tracer()) {} in SweeperJob()
82 TRACE_GC(tracer_, GCTracer::Scope::MC_SWEEP); in Run()
85 TRACE_GC_EPOCH(tracer_, GCTracer::Scope::MC_BACKGROUND_SWEEPING, in Run()
114 GCTracer* const tracer_; member in v8::internal::Sweeper::SweeperJob
659 tracer_(isolate->heap()->tracer()) {} in IterabilityTask()
668 TRACE_GC_EPOCH(tracer_, GCTracer::Scope::MC_BACKGROUND_SWEEPING, in RunInternal()
679 GCTracer* const tracer_; member in v8::internal::Sweeper::IterabilityTask
Dmemory-allocator.cc68 : unmapper_(unmapper), tracer_(isolate->heap()->tracer()) {} in UnmapFreeMemoryJob()
75 TRACE_GC(tracer_, GCTracer::Scope::UNMAPPER); in Run()
79 TRACE_GC1(tracer_, GCTracer::Scope::BACKGROUND_UNMAPPER, in Run()
103 GCTracer* const tracer_; member in v8::internal::MemoryAllocator::Unmapper::UnmapFreeMemoryJob
Dgc-tracer.h109 GCTracer* const tracer_; variable
Dmark-compact.cc3804 tracer_(isolate->heap()->tracer()) {} in PageEvacuationJob()
3809 TRACE_GC(tracer_, evacuator->GetTracingScope()); in Run()
3812 TRACE_GC_EPOCH(tracer_, evacuator->GetBackgroundTracingScope(), in Run()
3851 GCTracer* tracer_; member in v8::internal::PageEvacuationJob
4200 tracer_(isolate->heap()->tracer()), in PointersUpdatingJob()
4206 TRACE_GC(tracer_, scope_); in Run()
4209 TRACE_GC_EPOCH(tracer_, background_scope_, ThreadKind::kBackground); in Run()
4244 GCTracer* tracer_; member in v8::internal::PointersUpdatingJob
Dheap.h862 GCTracer* tracer() { return tracer_.get(); } in tracer()
2292 std::unique_ptr<GCTracer> tracer_; variable
Dgc-tracer.cc50 Isolate* isolate = tracer_->heap_->isolate(); in AssertMainThread()
Dheap.cc5840 tracer_.reset(new GCTracer(this)); in SetUpSpaces()
6174 tracer_.reset(); in TearDown()
/third_party/node/deps/v8/src/diagnostics/
Dcode-tracer.h44 explicit Scope(CodeTracer* tracer) : tracer_(tracer) { tracer->OpenFile(); } in Scope()
45 ~Scope() { tracer_->CloseFile(); } in ~Scope()
47 FILE* file() const { return tracer_->file(); } in file()
50 CodeTracer* tracer_;