Lines Matching refs:thread_count
790 size_t thread_count = GetThreadCount(paused);
792 if (kParallelCardScan && thread_count > 0) {
802 const size_t mark_stack_tasks = GetHeap()->GetContinuousSpaces().size() * thread_count;
814 const size_t card_delta = RoundUp(address_range / thread_count + 1,
845 thread_pool->SetMaxActiveWorkers(thread_count - 1);
946 size_t thread_count = GetThreadCount(false);
947 const bool parallel = kParallelRecursiveMark && thread_count > 1;
966 const size_t n = thread_count * 2;
977 thread_pool->SetMaxActiveWorkers(thread_count - 1);
1402 void MarkSweep::ProcessMarkStackParallel(size_t thread_count) {
1405 const size_t chunk_size = std::min(mark_stack_->Size() / thread_count + 1,
1415 thread_pool->SetMaxActiveWorkers(thread_count - 1);
1426 size_t thread_count = GetThreadCount(paused);
1427 if (kParallelProcessMarkStack && thread_count > 1 &&
1429 ProcessMarkStackParallel(thread_count);