mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-10 11:54:40 +00:00
#607: bump worker thread stack size to 64MB (with thanks to @NapalmSauce)
This commit is contained in:
parent
420d67c3c1
commit
c530265a00
@ -700,7 +700,7 @@ nsScriptSecurityManager::CheckLoadURIWithPrincipal(nsIPrincipal* aPrincipal,
|
|||||||
if (0 ||
|
if (0 ||
|
||||||
|
|
||||||
#ifdef __ppc__
|
#ifdef __ppc__
|
||||||
BLOC("static.twitchcdn.net") ||
|
/* No sites in blocklist currently */
|
||||||
#endif // __ppc__
|
#endif // __ppc__
|
||||||
|
|
||||||
0) {
|
0) {
|
||||||
|
@ -24,9 +24,13 @@ using namespace mozilla::ipc;
|
|||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
// The C stack size. We use the same stack size on all platforms for
|
// The C stack size.
|
||||||
// consistency.
|
#ifdef __ppc__
|
||||||
|
// TenFourFox issue 607.
|
||||||
|
const uint32_t kWorkerStackSize = 16384 * sizeof(size_t) * 1024;
|
||||||
|
#else
|
||||||
const uint32_t kWorkerStackSize = 256 * sizeof(size_t) * 1024;
|
const uint32_t kWorkerStackSize = 256 * sizeof(size_t) * 1024;
|
||||||
|
#endif
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user