#607: bump worker thread stack size to 64MB (with thanks to @NapalmSauce)

This commit is contained in:
Cameron Kaiser 2020-07-05 16:35:14 -07:00
parent 420d67c3c1
commit c530265a00
2 changed files with 7 additions and 3 deletions

View File

@ -700,7 +700,7 @@ nsScriptSecurityManager::CheckLoadURIWithPrincipal(nsIPrincipal* aPrincipal,
if (0 ||
#ifdef __ppc__
BLOC("static.twitchcdn.net") ||
/* No sites in blocklist currently */
#endif // __ppc__
0) {

View File

@ -24,9 +24,13 @@ using namespace mozilla::ipc;
namespace {
// The C stack size. We use the same stack size on all platforms for
// consistency.
// The C stack size.
#ifdef __ppc__
// TenFourFox issue 607.
const uint32_t kWorkerStackSize = 16384 * sizeof(size_t) * 1024;
#else
const uint32_t kWorkerStackSize = 256 * sizeof(size_t) * 1024;
#endif
} // namespace