Bug 1333936 - Lift the Large-Allocation header process cap to 10. r=smaug, a=lizzard
authorMichael Layzell <michael@thelayzells.com>
Thu, 26 Jan 2017 14:37:08 -0500
changeset 375876 06cd952eecee6f624ec02cdcf6d1d5f47bc06c64
parent 375875 77a99146995f55fa78caed883692ad9c4b838823
child 375877 c3e53ebb65e74b5fd0579d9a3d3889c9be98900d
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug, lizzard
bugs1333936
milestone53.0a2
Bug 1333936 - Lift the Large-Allocation header process cap to 10. r=smaug, a=lizzard MozReview-Commit-ID: L3dvIhhV2Ga
dom/tests/browser/browser_largeAllocation.js
modules/libpref/init/all.js
--- a/dom/tests/browser/browser_largeAllocation.js
+++ b/dom/tests/browser/browser_largeAllocation.js
@@ -378,9 +378,12 @@ add_task(function*() {
       yield ContentTask.spawn(aBrowser, TEST_URI, TEST_URI => {
         content.document.location = TEST_URI;
       });
       yield ready;
 
       is(false, yield getInLAProc(aBrowser));
     });
   });
+
+  // XXX: Make sure to reset dom.ipc.processCount.webLargeAllocation if adding a
+  // test after the above test.
 });
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -2885,17 +2885,17 @@ pref("dom.ipc.plugins.asyncdrawing.enabl
 #endif
 
 pref("dom.ipc.processCount", 1);
 
 // Disable support for SVG
 pref("svg.disabled", false);
 
 // Override default dom.ipc.processCount for some remote content process types.
-pref("dom.ipc.processCount.webLargeAllocation", 2);
+pref("dom.ipc.processCount.webLargeAllocation", 10);
 
 // Enable the Large-Allocation header
 pref("dom.largeAllocationHeader.enabled", true);
 
 // Pref to control whether we use separate content processes for top-level load
 // of file:// URIs.
 #if defined(NIGHTLY_BUILD)
 pref("browser.tabs.remote.separateFileUriProcess", true);