mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 842217 - Contacts list swipe and pan gets stuck because of frequent GCs. r=billm
This commit is contained in:
parent
252d6291d7
commit
4ba30c9fe9
@ -527,11 +527,11 @@ pref("javascript.options.mem.log", false);
|
||||
// Increase mark slice time from 10ms to 30ms
|
||||
pref("javascript.options.mem.gc_incremental_slice_ms", 30);
|
||||
|
||||
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_heap_growth_max", 150);
|
||||
pref("javascript.options.mem.gc_high_frequency_heap_growth_min", 120);
|
||||
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.gc_low_frequency_heap_growth", 120);
|
||||
pref("javascript.options.mem.high_water_mark", 6);
|
||||
pref("javascript.options.mem.gc_allocation_threshold_mb", 3);
|
||||
|
||||
|
@ -2023,7 +2023,7 @@ js::MaybeGC(JSContext *cx)
|
||||
return;
|
||||
}
|
||||
|
||||
double factor = rt->gcHighFrequencyGC ? 0.75 : 0.9;
|
||||
double factor = rt->gcHighFrequencyGC ? 0.85 : 0.9;
|
||||
Zone *zone = cx->zone();
|
||||
if (zone->gcBytes > 1024 * 1024 &&
|
||||
zone->gcBytes >= factor * zone->gcTriggerBytes &&
|
||||
|
Loading…
Reference in New Issue
Block a user