Home
last modified time | relevance | path

Searched refs:heap_state (Results 1 – 5 of 5) sorted by relevance

/external/v8/test/unittests/heap/
Dgc-idle-time-handler-unittest.cc92 GCIdleTimeHeapState heap_state = DefaultHeapState(); in TEST_F() local
93 heap_state.contexts_disposed = 1; in TEST_F()
94 heap_state.incremental_marking_stopped = true; in TEST_F()
96 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); in TEST_F()
102 GCIdleTimeHeapState heap_state = DefaultHeapState(); in TEST_F() local
103 heap_state.contexts_disposed = 1; in TEST_F()
104 heap_state.contexts_disposal_rate = in TEST_F()
106 heap_state.incremental_marking_stopped = true; in TEST_F()
108 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); in TEST_F()
114 GCIdleTimeHeapState heap_state = DefaultHeapState(); in TEST_F() local
[all …]
/external/v8/src/heap/
Dgc-idle-time-handler.cc123 GCIdleTimeHeapState heap_state) { in Compute() argument
125 if (heap_state.incremental_marking_stopped) { in Compute()
127 heap_state.contexts_disposed, in Compute()
128 heap_state.contexts_disposal_rate)) { in Compute()
137 if (ShouldDoContextDisposalMarkCompact(heap_state.contexts_disposed, in Compute()
138 heap_state.contexts_disposal_rate)) { in Compute()
142 if (!FLAG_incremental_marking || heap_state.incremental_marking_stopped) { in Compute()
Dgc-idle-time-handler.h126 GCIdleTimeHeapState heap_state);
Dheap.cc4239 GCIdleTimeHeapState heap_state; in ComputeHeapState() local
4240 heap_state.contexts_disposed = contexts_disposed_; in ComputeHeapState()
4241 heap_state.contexts_disposal_rate = in ComputeHeapState()
4243 heap_state.size_of_objects = static_cast<size_t>(SizeOfObjects()); in ComputeHeapState()
4244 heap_state.incremental_marking_stopped = incremental_marking()->IsStopped(); in ComputeHeapState()
4245 return heap_state; in ComputeHeapState()
4250 GCIdleTimeHeapState heap_state, in PerformIdleTimeAction() argument
4285 GCIdleTimeHeapState heap_state, in IdleNotificationEpilogue() argument
4300 int used_memory = static_cast<int>(heap_state.size_of_objects / KB); in IdleNotificationEpilogue()
4329 heap_state.Print(); in IdleNotificationEpilogue()
[all …]
Dheap.h1670 GCIdleTimeHeapState heap_state,
1674 GCIdleTimeHeapState heap_state, double start_ms,