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