{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreigxapkgyocyg4wa2ptbvy4wg233lx6jio2mffxycqluxuq2iuqn7a",
    "uri": "at://did:plc:hqad6xwuzg7oqfmwylfkvqfm/app.bsky.feed.post/3mkpbz2wnij32"
  },
  "path": "/viewtopic.php?t=33382&p=273029#p273029",
  "publishedAt": "2026-04-30T08:53:58.000Z",
  "site": "http://forum.palemoon.org",
  "textContent": "Reverted the changes and ended up doing it this way, which should work fine on all hardware:\n\n\nCODE:\n\n\n    static size_tThreadCountForCPUCount(size_t cpuCount){ // Create additional threads on top of the number of cores available, to // provide some excess capacity in case threads pause each other. // Note that cpuCount here is the number of logical processors and threadCount // calculated here just adds some extra capacity on top. Use threadCount // with care as it may end up deadlocking. static const uint32_t EXCESS_THREADS = 4; return cpuCount + EXCESS_THREADS;}{...}size_tGlobalHelperThreadState::maxParseThreads() const{ if (IsHelperThreadSimulatingOOM(js::oom::THREAD_TYPE_PARSE)) return 1; // Use the number of logical processors in a system. return cpuCount;}\n\n* * *",
  "title": "Platform Development • Re: The browser hang with 0 CPU load.",
  "updatedAt": "2026-04-30T08:53:58.000Z"
}