Searched refs:heap_state (Results 1 – 4 of 4) sorted by relevance
148 GCIdleTimeHandler::HeapState heap_state = DefaultHeapState(); in TEST_F() local149 heap_state.contexts_disposed = 1; in TEST_F()150 heap_state.incremental_marking_stopped = true; in TEST_F()151 size_t speed = heap_state.mark_compact_speed_in_bytes_per_ms; in TEST_F()153 static_cast<int>((heap_state.size_of_objects + speed - 1) / speed); in TEST_F()154 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); in TEST_F()160 GCIdleTimeHandler::HeapState heap_state = DefaultHeapState(); in TEST_F() local161 heap_state.contexts_disposed = 1; in TEST_F()162 heap_state.incremental_marking_stopped = true; in TEST_F()163 size_t speed = heap_state.mark_compact_speed_in_bytes_per_ms; in TEST_F()[all …]
112 HeapState heap_state) { in Compute() argument115 heap_state.available_new_space_memory, in Compute()116 heap_state.new_space_allocation_throughput_in_bytes_per_ms) && in Compute()118 EstimateScavengeTime(heap_state.new_space_capacity, in Compute()119 heap_state.scavenge_speed_in_bytes_per_ms)) { in Compute()123 if (EnoughGarbageSinceLastIdleRound() || heap_state.contexts_disposed > 0) { in Compute()134 if (heap_state.incremental_marking_stopped) { in Compute()136 EstimateMarkCompactTime(heap_state.size_of_objects, in Compute()137 heap_state.mark_compact_speed_in_bytes_per_ms); in Compute()139 (heap_state.size_of_objects < kSmallHeapSize && in Compute()[all …]
142 GCIdleTimeAction Compute(size_t idle_time_in_ms, HeapState heap_state);
4305 GCIdleTimeHandler::HeapState heap_state; in IdleNotification() local4306 heap_state.contexts_disposed = contexts_disposed_; in IdleNotification()4307 heap_state.size_of_objects = static_cast<size_t>(SizeOfObjects()); in IdleNotification()4308 heap_state.incremental_marking_stopped = incremental_marking()->IsStopped(); in IdleNotification()4310 heap_state.can_start_incremental_marking = in IdleNotification()4312 heap_state.sweeping_in_progress = in IdleNotification()4314 heap_state.mark_compact_speed_in_bytes_per_ms = in IdleNotification()4316 heap_state.incremental_marking_speed_in_bytes_per_ms = static_cast<size_t>( in IdleNotification()4318 heap_state.scavenge_speed_in_bytes_per_ms = in IdleNotification()4320 heap_state.available_new_space_memory = new_space_.Available(); in IdleNotification()[all …]