[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser/tor-browser-68.1.0esr-9.0-2] Bug 1578075 - Increase stack size of paint threads on macOS Catalina to 1MB. r=jrmuizel
commit e179405cb2f2e8fbbde1ce75b7d7dd9eadc2d4a0
Author: Lee Salzman <lsalzman@xxxxxxxxxxx>
Date: Mon Sep 23 20:02:17 2019 +0000
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
---
gfx/layers/PaintThread.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gfx/layers/PaintThread.cpp b/gfx/layers/PaintThread.cpp
index c35bf472d682..400e2d342b2f 100644
--- a/gfx/layers/PaintThread.cpp
+++ b/gfx/layers/PaintThread.cpp
@@ -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");
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits