mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 17:25:36 +00:00
Bug 1431353 - Remove limit on number of threads used for off-thread parsing r=luke
This commit is contained in:
parent
8d70b7215d
commit
d46c20f6fe
@ -1192,12 +1192,7 @@ GlobalHelperThreadState::maxParseThreads() const
|
||||
{
|
||||
if (IsHelperThreadSimulatingOOM(js::THREAD_TYPE_PARSE))
|
||||
return 1;
|
||||
|
||||
// Don't allow simultaneous off thread parses, to reduce contention on the
|
||||
// atoms table. Note that wasm compilation depends on this to avoid
|
||||
// stalling the helper thread, as off thread parse tasks can trigger and
|
||||
// block on other off thread wasm compilation tasks.
|
||||
return 1;
|
||||
return cpuCount;
|
||||
}
|
||||
|
||||
size_t
|
||||
|
Loading…
Reference in New Issue
Block a user