mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1578075 - Increase stack size of paint threads on macOS Catalina to 1MB. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D46834 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
37bab0bd83
commit
523a527e84
@ -79,7 +79,7 @@ static uint32_t GetPaintThreadStackSize() {
|
||||
#else
|
||||
// Workaround bug 1578075 by increasing the stack size of paint threads
|
||||
if (nsCocoaFeatures::OnCatalinaOrLater()) {
|
||||
static const uint32_t kCatalinaPaintThreadStackSize = 512 * 1024;
|
||||
static const uint32_t kCatalinaPaintThreadStackSize = 1024 * 1024;
|
||||
static_assert(kCatalinaPaintThreadStackSize >= nsIThreadManager::DEFAULT_STACK_SIZE,
|
||||
"update default stack size of paint "
|
||||
"workers");
|
||||
|
Loading…
Reference in New Issue
Block a user