diff options
Diffstat (limited to 'www/firefox/files/patch-xpcom-base-AvailableMemoryTracker.cpp')
| -rw-r--r-- | www/firefox/files/patch-xpcom-base-AvailableMemoryTracker.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/www/firefox/files/patch-xpcom-base-AvailableMemoryTracker.cpp b/www/firefox/files/patch-xpcom-base-AvailableMemoryTracker.cpp new file mode 100644 index 000000000000..5499f4fbe9e3 --- /dev/null +++ b/www/firefox/files/patch-xpcom-base-AvailableMemoryTracker.cpp @@ -0,0 +1,10 @@ +--- xpcom/base/AvailableMemoryTracker.cpp~ ++++ xpcom/base/AvailableMemoryTracker.cpp +@@ -499,6 +499,6 @@ nsJemallocFreeDirtyPagesRunnable::Run() + MOZ_ASSERT(NS_IsMainThread()); + + #if defined(MOZ_JEMALLOC) +- mallctl("arenas.purge", nullptr, 0, nullptr, 0); ++// mallctl("arenas.purge", nullptr, 0, nullptr, 0); + #elif defined(MOZ_MEMORY) + jemalloc_free_dirty_pages(); |
