From a982bb3205bc1eae3fde5a05d4c873a065ee9a4b Mon Sep 17 00:00:00 2001 From: Basilisk-Dev Date: Thu, 16 Apr 2026 12:10:10 -0400 Subject: [PATCH] Issue #3050 - Backport 1431353: Remove off-thread parse thread limit --- js/src/vm/HelperThreads.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/js/src/vm/HelperThreads.cpp b/js/src/vm/HelperThreads.cpp index ca5b3020a5..6d86db53d6 100644 --- a/js/src/vm/HelperThreads.cpp +++ b/js/src/vm/HelperThreads.cpp @@ -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