mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 22:38:41 +09:00
Issue #3050 - Backport 1431353: Remove off-thread parse thread limit
This commit is contained in:
parent
5bab33a357
commit
a982bb3205
1 changed files with 1 additions and 5 deletions
|
|
@ -927,11 +927,7 @@ GlobalHelperThreadState::maxParseThreads() const
|
|||
if (IsHelperThreadSimulatingOOM(js::oom::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 threadCount;
|
||||
}
|
||||
|
||||
size_t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue