Bug 507694: Change JS GC frequency and high-watermark preferences for mobile, r=stuart
authorMark Finkle <mfinkle@mozilla.com>
Tue, 01 Sep 2009 23:51:23 -0400
changeset 65502 a9fa9760bbd0d8f110cd0df6712aeccab09014ac
parent 65501 37c6470d90140e515176527c4b9d253a17b27c9a
child 65503 5b70aff42f92fa68b955485f17844ce12c234f51
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersstuart
bugs507694
Bug 507694: Change JS GC frequency and high-watermark preferences for mobile, r=stuart
mobile/app/mobile.js
--- a/mobile/app/mobile.js
+++ b/mobile/app/mobile.js
@@ -314,16 +314,17 @@ pref("layout.css.devPixelsPerPx", 1);
 #endif
 
 // content sink control -- controls responsiveness during page load
 pref("content.max.deflected.tokens", 10);
 pref("content.max.tokenizing.time", 50000);
 
 pref("javascript.options.jit.content", true);
 pref("javascript.options.jit.chrome", true);
+pref("javascript.options.mem.gc_frequency", 300);
 
 pref("dom.max_chrome_script_run_time", 30);
 pref("dom.max_script_run_time", 20);
 
 // JS error console
 pref("browser.console.showInPanel", false);
 
 // kinetic tweakables