• Home
  • Raw
  • Download

Lines Matching refs:heap_

50   Isolate* isolate = tracer_->heap_->isolate();  in AssertMainThread()
166 : heap_(heap), in GCTracer()
243 heap_->isolate()->counters()->young_generation_handling()->AddSample( in NotifyYoungGenerationHandling()
268 current_.reduce_memory = heap_->ShouldReduceMemory(); in UpdateCurrentEvent()
315 current_.reduce_memory = heap_->ShouldReduceMemory(); in StartCycle()
337 SampleAllocation(current_.start_time, heap_->NewSpaceAllocationCounter(), in StartInSafepoint()
338 heap_->OldGenerationAllocationCounter(), in StartInSafepoint()
339 heap_->EmbedderAllocationCounter()); in StartInSafepoint()
341 current_.start_object_size = heap_->SizeOfObjects(); in StartInSafepoint()
342 current_.start_memory_size = heap_->memory_allocator()->Size(); in StartInSafepoint()
343 current_.start_holes_size = CountTotalHolesSize(heap_); in StartInSafepoint()
344 size_t new_space_size = (heap_->new_space() ? heap_->new_space()->Size() : 0); in StartInSafepoint()
346 (heap_->new_lo_space() ? heap_->new_lo_space()->SizeOfObjects() : 0); in StartInSafepoint()
359 current_.end_object_size = heap_->SizeOfObjects(); in StopInSafepoint()
360 current_.end_memory_size = heap_->memory_allocator()->Size(); in StopInSafepoint()
361 current_.end_holes_size = CountTotalHolesSize(heap_); in StopInSafepoint()
362 current_.survived_young_object_size = heap_->SurvivedYoungObjectSize(); in StopInSafepoint()
387 auto* long_task_stats = heap_->isolate()->GetCurrentLongTaskStats(); in UpdateStatistics()
412 heap_->UpdateTotalGCTime(duration); in UpdateStatistics()
423 heap_->PrintShortHeapStatistics(); in UpdateStatistics()
429 heap_->DumpJSONHeapStatistics(heap_stats); in UpdateStatistics()
486 heap_->isolate()->counters()->mark_compact_reason()->AddSample( in StopCycle()
490 PrintIsolate(heap_->isolate(), in StopCycle()
492 heap_->PrintFreeListsStats(); in StopCycle()
500 if (heap_->cpp_heap() && !notified_full_cppgc_completed_) return; in StopFullCycleIfNeeded()
512 if (heap_->cpp_heap() && notified_young_cppgc_running_ && in StopYoungCycleIfNeeded()
537 PrintIsolate(heap_->isolate(), in NotifySweepingCompleted()
539 heap_->PrintFreeListsStats(); in NotifySweepingCompleted()
542 heap_->new_space()->PrintAllocationsOrigins(); in NotifySweepingCompleted()
543 heap_->old_space()->PrintAllocationsOrigins(); in NotifySweepingCompleted()
544 heap_->code_space()->PrintAllocationsOrigins(); in NotifySweepingCompleted()
545 heap_->map_space()->PrintAllocationsOrigins(); in NotifySweepingCompleted()
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()
672 heap_->AddToRingBuffer(buffer.begin()); in Output()
706 reinterpret_cast<void*>(heap_->isolate()), in Print()
707 heap_->isolate()->time_millis_since_init(), in Print()
708 heap_->IsShared() ? "Shared " : "", current_.TypeName(false), in Print()
739 heap_->isolate()->PrintWithTimestamp( in PrintNVP()
811 heap_->promoted_objects_size(), in PrintNVP()
812 heap_->semi_space_copied_object_size(), in PrintNVP()
813 heap_->nodes_died_in_new_space_, heap_->nodes_copied_in_new_space_, in PrintNVP()
814 heap_->nodes_promoted_, heap_->promotion_ratio_, in PrintNVP()
815 AverageSurvivalRatio(), heap_->promotion_rate_, in PrintNVP()
816 heap_->semi_space_copied_rate_, in PrintNVP()
818 heap_->memory_allocator()->unmapper()->NumberOfChunks()); in PrintNVP()
821 heap_->isolate()->PrintWithTimestamp( in PrintNVP()
876 heap_->isolate()->PrintWithTimestamp( in PrintNVP()
1044 heap_->promoted_objects_size(), in PrintNVP()
1045 heap_->semi_space_copied_object_size(), in PrintNVP()
1046 heap_->nodes_died_in_new_space_, heap_->nodes_copied_in_new_space_, in PrintNVP()
1047 heap_->nodes_promoted_, heap_->promotion_ratio_, in PrintNVP()
1048 AverageSurvivalRatio(), heap_->promotion_rate_, in PrintNVP()
1049 heap_->semi_space_copied_rate_, in PrintNVP()
1051 heap_->memory_allocator()->unmapper()->NumberOfChunks(), in PrintNVP()
1293 heap_->isolate()->counters()->background_marking()->AddSample( in FetchBackgroundMarkCompactCounters()
1295 heap_->isolate()->counters()->background_sweeping()->AddSample( in FetchBackgroundMarkCompactCounters()
1318 Counters* counters = heap_->isolate()->counters(); in RecordGCPhasesHistograms()
1336 heap_->isolate()->counters()->incremental_marking_sum()->AddSample( in RecordGCPhasesHistograms()
1341 heap_->isolate()->counters()->gc_marking_sum()->AddSample( in RecordGCPhasesHistograms()
1350 heap_->SizeOfObjects() > kMinObjectSizeForReportingThroughput && in RecordGCPhasesHistograms()
1357 static_cast<int>(static_cast<double>(heap_->SizeOfObjects()) / in RecordGCPhasesHistograms()
1359 heap_->isolate() in RecordGCPhasesHistograms()
1482 auto* cpp_heap = v8::internal::CppHeap::From(heap_->cpp_heap()); in ReportFullCycleToRecorder()
1486 heap_->isolate()->metrics_recorder(); in ReportFullCycleToRecorder()
1497 FlushBatchedEvents(incremental_mark_batched_events_, heap_->isolate()); in ReportFullCycleToRecorder()
1500 FlushBatchedEvents(incremental_sweep_batched_events_, heap_->isolate()); in ReportFullCycleToRecorder()
1617 recorder->AddMainThreadEvent(event, GetContextId(heap_->isolate())); in ReportFullCycleToRecorder()
1625 heap_->isolate()->metrics_recorder(); in ReportIncrementalMarkingStepToRecorder()
1629 if (heap_->cpp_heap()) { in ReportIncrementalMarkingStepToRecorder()
1632 cppgc_event = v8::internal::CppHeap::From(heap_->cpp_heap()) in ReportIncrementalMarkingStepToRecorder()
1645 FlushBatchedEvents(incremental_mark_batched_events_, heap_->isolate()); in ReportIncrementalMarkingStepToRecorder()
1653 heap_->isolate()->metrics_recorder(); in ReportIncrementalSweepingStepToRecorder()
1661 FlushBatchedEvents(incremental_sweep_batched_events_, heap_->isolate()); in ReportIncrementalSweepingStepToRecorder()
1669 heap_->isolate()->metrics_recorder(); in ReportYoungCycleToRecorder()
1678 auto* cpp_heap = v8::internal::CppHeap::From(heap_->cpp_heap()); in ReportYoungCycleToRecorder()
1740 recorder->AddMainThreadEvent(event, GetContextId(heap_->isolate())); in ReportYoungCycleToRecorder()