Searched refs:maxThreadNum (Results 1 – 1 of 1) sorted by relevance
194 uint32_t maxThreadNum = std::min(heap_->GetMaxEvacuateTaskCount(), in CalculateEvacuationThreadNum() local196 return static_cast<int>(std::min(std::max(1U, length / regionPerThread), maxThreadNum)); in CalculateEvacuationThreadNum()204 uint32_t maxThreadNum = std::min(heap_->GetMaxEvacuateTaskCount(), in CalculateUpdateThreadNum() local206 return static_cast<int>(std::min(std::max(1U, length), maxThreadNum)); in CalculateUpdateThreadNum()