Issue #3050 - Backport 1431353: Remove off-thread parse thread limit

This commit is contained in:
Basilisk-Dev 2026-04-16 12:10:10 -04:00 committed by wuggy
commit a982bb3205

View file

@ -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