mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Backed out changeset 5696b75841af (bug 1929269) for causing Linting failures. CLOSED TREE
This commit is contained in:
parent
ad21d184ea
commit
2b4c364022
@ -105,8 +105,9 @@ void IdleSchedulerParent::CalculateNumIdleTasks() {
|
||||
// On one and two processor (or hardware thread) systems this will
|
||||
// allow one concurrent idle task.
|
||||
sMaxConcurrentIdleTasksInChildProcesses = int32_t(std::max(sNumCPUs, 1u));
|
||||
sMaxConcurrentGCs = std::clamp(sNumCPUs / sPrefConcurrentGCsCPUDivisor, 1u,
|
||||
sPrefConcurrentGCsMax);
|
||||
sMaxConcurrentGCs =
|
||||
std::min(std::max(sNumCPUs / sPrefConcurrentGCsCPUDivisor, 1u),
|
||||
sPrefConcurrentGCsMax);
|
||||
|
||||
if (sActiveChildCounter && sActiveChildCounter->Memory()) {
|
||||
static_cast<Atomic<int32_t>*>(
|
||||
|
Loading…
Reference in New Issue
Block a user