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.cc129 GCIdleTimeHeapState heap_state = DefaultHeapState(); in TEST_F() local
130 heap_state.contexts_disposed = 1; in TEST_F()
131 heap_state.incremental_marking_stopped = true; in TEST_F()
133 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); in TEST_F()
139 GCIdleTimeHeapState heap_state = DefaultHeapState(); in TEST_F() local
140 heap_state.contexts_disposed = 1; in TEST_F()
141 heap_state.contexts_disposal_rate = in TEST_F()
143 heap_state.incremental_marking_stopped = true; in TEST_F()
145 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); in TEST_F()
151 GCIdleTimeHeapState heap_state = DefaultHeapState(); in TEST_F() local
[all …]
/external/v8/src/heap/
Dgc-idle-time-handler.cc156 GCIdleTimeHeapState heap_state) { in Compute() argument
158 if (heap_state.incremental_marking_stopped) { in Compute()
160 heap_state.contexts_disposed, in Compute()
161 heap_state.contexts_disposal_rate)) { in Compute()
170 if (ShouldDoContextDisposalMarkCompact(heap_state.contexts_disposed, in Compute()
171 heap_state.contexts_disposal_rate)) { in Compute()
175 if (!FLAG_incremental_marking || heap_state.incremental_marking_stopped) { in Compute()
Dgc-idle-time-handler.h129 GCIdleTimeHeapState heap_state);
Dheap.cc4159 GCIdleTimeHeapState heap_state; in ComputeHeapState() local
4160 heap_state.contexts_disposed = contexts_disposed_; in ComputeHeapState()
4161 heap_state.contexts_disposal_rate = in ComputeHeapState()
4163 heap_state.size_of_objects = static_cast<size_t>(SizeOfObjects()); in ComputeHeapState()
4164 heap_state.incremental_marking_stopped = incremental_marking()->IsStopped(); in ComputeHeapState()
4165 return heap_state; in ComputeHeapState()
4170 GCIdleTimeHeapState heap_state, in PerformIdleTimeAction() argument
4204 GCIdleTimeHeapState heap_state, in IdleNotificationEpilogue() argument
4219 int used_memory = static_cast<int>(heap_state.size_of_objects / KB); in IdleNotificationEpilogue()
4248 heap_state.Print(); in IdleNotificationEpilogue()
[all …]
Dheap.h1821 GCIdleTimeHeapState heap_state,
1825 GCIdleTimeHeapState heap_state, double start_ms,