Lines Matching defs:thread_count
881 size_t thread_count = GetThreadCount(paused);
883 if (kParallelCardScan && thread_count > 1) {
894 const size_t mark_stack_tasks = GetHeap()->GetContinuousSpaces().size() * thread_count;
912 const size_t card_delta = RoundUp(address_range / thread_count + 1,
948 thread_pool->SetMaxActiveWorkers(thread_count - 1);
1033 size_t thread_count = GetThreadCount(false);
1034 const bool parallel = kParallelRecursiveMark && thread_count > 1;
1052 const size_t n = thread_count * 2;
1066 thread_pool->SetMaxActiveWorkers(thread_count - 1);
1391 void MarkSweep::ProcessMarkStackParallel(size_t thread_count) {
1394 const size_t chunk_size = std::min(mark_stack_->Size() / thread_count + 1,
1403 thread_pool->SetMaxActiveWorkers(thread_count - 1);
1416 size_t thread_count = GetThreadCount(paused);
1417 if (kParallelProcessMarkStack && thread_count > 1 &&
1419 ProcessMarkStackParallel(thread_count);