• Home
  • Raw
  • Download

Lines Matching refs:heap

23 MemoryReducer::MemoryReducer(Heap* heap)  in MemoryReducer()  argument
24 : heap_(heap), in MemoryReducer()
26 reinterpret_cast<v8::Isolate*>(heap->isolate()))), in MemoryReducer()
32 : CancelableTask(memory_reducer->heap()->isolate()), in TimerTask()
37 Heap* heap = memory_reducer_->heap(); in RunInternal() local
39 double time_ms = heap->MonotonicallyIncreasingTimeInMs(); in RunInternal()
40 heap->tracer()->SampleAllocation(time_ms, heap->NewSpaceAllocationCounter(), in RunInternal()
41 heap->OldGenerationAllocationCounter()); in RunInternal()
42 bool low_allocation_rate = heap->HasLowAllocationRate(); in RunInternal()
43 bool optimize_for_memory = heap->ShouldOptimizeForMemoryUsage(); in RunInternal()
45 heap->isolate()->PrintWithTimestamp( in RunInternal()
58 heap->incremental_marking()->IsStopped() && in RunInternal()
59 (heap->incremental_marking()->CanBeActivated() || optimize_for_memory); in RunInternal()
60 event.committed_memory = heap->CommittedOldGenerationMemory(); in RunInternal()
70 DCHECK(heap()->incremental_marking()->IsStopped()); in NotifyTimer()
73 heap()->isolate()->PrintWithTimestamp("Memory reducer: started GC #%d\n", in NotifyTimer()
76 heap()->StartIdleIncrementalMarking( in NotifyTimer()
80 if (!heap()->incremental_marking()->IsStopped() && in NotifyTimer()
81 heap()->ShouldOptimizeForMemoryUsage()) { in NotifyTimer()
86 double deadline = heap()->MonotonicallyIncreasingTimeInMs() + in NotifyTimer()
88 heap()->incremental_marking()->AdvanceIncrementalMarking( in NotifyTimer()
91 heap()->FinalizeIncrementalMarkingIfComplete( in NotifyTimer()
97 heap()->isolate()->PrintWithTimestamp( in NotifyTimer()
115 heap()->isolate()->PrintWithTimestamp( in NotifyMarkCompact()
212 if (heap()->IsTearingDown()) return; in ScheduleTimer()