diff --git a/js/src/gc/Scheduling.h b/js/src/gc/Scheduling.h index 8c7f36135112..a5be9e158ed3 100644 --- a/js/src/gc/Scheduling.h +++ b/js/src/gc/Scheduling.h @@ -387,7 +387,7 @@ static const double HighFrequencyLargeHeapGrowth = 1.5; static const double LowFrequencyHeapGrowth = 1.5; /* JSGC_HEAP_GROWTH_FACTOR */ -static const double HeapGrowthFactor = 40.0; +static const double HeapGrowthFactor = 50.0; /* JSGC_MIN_EMPTY_CHUNK_COUNT */ static const uint32_t MinEmptyChunkCount = 1; diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 81fad1fb9107..0dbfe26d60df 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -1044,7 +1044,7 @@ pref("javascript.options.mem.gc_low_frequency_heap_growth", 150); pref("javascript.options.mem.gc_balanced_heap_limits", false); // JSGC_HEAP_GROWTH_FACTOR -pref("javascript.options.mem.gc_heap_growth_factor", 40); +pref("javascript.options.mem.gc_heap_growth_factor", 50); // JSGC_ALLOCATION_THRESHOLD pref("javascript.options.mem.gc_allocation_threshold_mb", 27);