зеркало из https://github.com/mozilla/gecko-dev.git
Bug 783912 - [ARMv6] Use more conservative GC settings for ARMv6 r=blassey
This commit is contained in:
Родитель
772757e91e
Коммит
248f0ce0f6
|
@ -377,12 +377,22 @@ pref("geo.enabled", true);
|
|||
// Disable methodjit in chrome to save memory
|
||||
pref("javascript.options.methodjit.chrome", false);
|
||||
|
||||
pref("javascript.options.mem.high_water_mark", 32);
|
||||
|
||||
// Disable the JS engine's gc on memory pressure, since we do one in the mobile
|
||||
// browser (bug 669346).
|
||||
pref("javascript.options.gc_on_memory_pressure", false);
|
||||
|
||||
#ifdef MOZ_PKG_SPECIAL
|
||||
// low memory devices
|
||||
pref("javascript.options.mem.gc_high_frequency_heap_growth_max", 120);
|
||||
pref("javascript.options.mem.gc_high_frequency_heap_growth_min", 101);
|
||||
pref("javascript.options.mem.gc_high_frequency_high_limit_mb", 40);
|
||||
pref("javascript.options.mem.gc_high_frequency_low_limit_mb", 10);
|
||||
pref("javascript.options.mem.gc_low_frequency_heap_growth", 105);
|
||||
pref("javascript.options.mem.high_water_mark", 16);
|
||||
#else
|
||||
pref("javascript.options.mem.high_water_mark", 32);
|
||||
#endif
|
||||
|
||||
pref("dom.max_chrome_script_run_time", 0); // disable slow script dialog for chrome
|
||||
pref("dom.max_script_run_time", 20);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче