mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 783912 - [ARMv6] Use more conservative GC settings for ARMv6 r=blassey
This commit is contained in:
parent
ca4ba2d118
commit
fbd46ef4e7
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user