[tor-commits] [tor-browser/tor-browser-68.1.0esr-9.0-2] Revert "Bug 1578075 - Increase stack size of paint threads on macOS Catalina to 2MB. r=jrmuizel"

gk at torproject.org gk at torproject.org
Mon Sep 30 08:22:19 UTC 2019


commit 7b85373046c7a78416f71b9b1f65124e762ba596
Author: Georg Koppen <gk at torproject.org>
Date:   Mon Sep 30 08:20:27 2019 +0000

    Revert "Bug 1578075 - Increase stack size of paint threads on macOS Catalina to 2MB. r=jrmuizel"
    
    This reverts commit 7813cebd9f79de65d16e262ce79b675e7ec132c3.
---
 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 40ba4d3954b1..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 = 2 * 1024 * 1024;
+    static const uint32_t kCatalinaPaintThreadStackSize = 1024 * 1024;
     static_assert(kCatalinaPaintThreadStackSize >= nsIThreadManager::DEFAULT_STACK_SIZE,
                   "update default stack size of paint "
                   "workers");





More information about the tor-commits mailing list