No bug. Don't prelaunch app processes in debug builds, for easier debuggability. irc-r=bent
authorChris Jones <jones.chris.g@gmail.com>
Wed, 22 Aug 2012 22:59:32 -0700
changeset 105176 96cd349f463be14d49ed4f2d0a0eadac130d0a96
parent 105175 cd86e0d61c3facabea95de41947273a143c9d95c
child 105177 2a645c4ea73f4401e30ae3a74fceaa16e1238595
push id55
push usershu@rfrn.org
push dateThu, 30 Aug 2012 01:33:09 +0000
milestone17.0a1
No bug. Don't prelaunch app processes in debug builds, for easier debuggability. irc-r=bent
b2g/app/b2g.js
--- a/b2g/app/b2g.js
+++ b/b2g/app/b2g.js
@@ -510,16 +510,18 @@ pref("dom.ipc.processPriorityManager.ena
 pref("dom.ipc.processPriorityManager.gracePeriodMS", 1000);
 pref("hal.processPriorityManager.gonk.masterOomAdjust", 0);
 pref("hal.processPriorityManager.gonk.foregroundOomAdjust", 1);
 pref("hal.processPriorityManager.gonk.backgroundOomAdjust", 2);
 pref("hal.processPriorityManager.gonk.masterNice", -1);
 pref("hal.processPriorityManager.gonk.foregroundNice", 0);
 pref("hal.processPriorityManager.gonk.backgroundNice", 10);
 
+#ifndef DEBUG
 // Enable pre-launching content processes for improved startup time
 // (hiding latency).
 pref("dom.ipc.processPrelauch.enabled", true);
 // Wait this long before pre-launching a new subprocess.
 pref("dom.ipc.processPrelauch.delayMs", 1000);
+#endif
 
 // Ignore the "dialog=1" feature in window.open.
 pref("dom.disable_window_open_dialog_feature", true);