summaryrefslogtreecommitdiffstats
path: root/www/firefox/files/patch-bug778078
blob: f7bedeb8053cab2e58f52d60fa65eed553ef5b3a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- toolkit/xre/nsAppRunner.cpp~
+++ toolkit/xre/nsAppRunner.cpp
@@ -3833,7 +3833,7 @@ XREMain::XRE_main(int argc, char* argv[]
   ScopedLogging log;
 
 #if defined(MOZ_WIDGET_GTK)
-#ifdef MOZ_MEMORY
+#if defined(MOZ_MEMORY) || defined(__FreeBSD__) || defined(__NetBSD__)
   // Disable the slice allocator, since jemalloc already uses similar layout
   // algorithms, and using a sub-allocator tends to increase fragmentation.
   // This must be done before g_thread_init() is called.
OpenPOWER on IntegriCloud