Bug 1544648 - Add remaining GC parameters r=jonco
☠☠ backed out by b90fc7a65c3d ☠ ☠
authorPaul Bone <pbone@mozilla.com>
Wed, 17 Apr 2019 00:15:47 +0000
changeset 469815 2f61be416873860b79506382e4bfc2e42fe87a97
parent 469814 7699a664586021eb0d1cd34d52304270397d213f
child 469816 8701216ef356d0c20b96a80c49c8fd53a3572bc8
push id35883
push userbtara@mozilla.com
push dateWed, 17 Apr 2019 21:47:29 +0000
treeherdermozilla-central@02b89c29412b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjonco
bugs1544648
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1544648 - Add remaining GC parameters r=jonco Differential Revision: https://phabricator.services.mozilla.com/D27643
js/src/builtin/TestingFunctions.cpp
--- a/js/src/builtin/TestingFunctions.cpp
+++ b/js/src/builtin/TestingFunctions.cpp
@@ -481,20 +481,29 @@ static bool MinorGC(JSContext* cx, unsig
   _("highFrequencyLowLimit", JSGC_HIGH_FREQUENCY_LOW_LIMIT, true)            \
   _("highFrequencyHighLimit", JSGC_HIGH_FREQUENCY_HIGH_LIMIT, true)          \
   _("highFrequencyHeapGrowthMax", JSGC_HIGH_FREQUENCY_HEAP_GROWTH_MAX, true) \
   _("highFrequencyHeapGrowthMin", JSGC_HIGH_FREQUENCY_HEAP_GROWTH_MIN, true) \
   _("lowFrequencyHeapGrowth", JSGC_LOW_FREQUENCY_HEAP_GROWTH, true)          \
   _("dynamicHeapGrowth", JSGC_DYNAMIC_HEAP_GROWTH, true)                     \
   _("dynamicMarkSlice", JSGC_DYNAMIC_MARK_SLICE, true)                       \
   _("allocationThreshold", JSGC_ALLOCATION_THRESHOLD, true)                  \
+  _("allocationThresholdFactor", JSGC_ALLOCATION_THRESHOLD_FACTOR, true)     \
+  _("allocationThresholdFactorAvoidInterrupt",                               \
+    JSGC_ALLOCATION_THRESHOLD_FACTOR_AVOID_INTERRUPT, true)                  \
   _("minEmptyChunkCount", JSGC_MIN_EMPTY_CHUNK_COUNT, true)                  \
   _("maxEmptyChunkCount", JSGC_MAX_EMPTY_CHUNK_COUNT, true)                  \
   _("compactingEnabled", JSGC_COMPACTING_ENABLED, true)                      \
-  _("minLastDitchGCPeriod", JSGC_MIN_LAST_DITCH_GC_PERIOD, true)
+  _("minLastDitchGCPeriod", JSGC_MIN_LAST_DITCH_GC_PERIOD, true)             \
+  _("nurseryFreeThresholdForIdleCollection",                                 \
+    JSGC_NURSERY_FREE_THRESHOLD_FOR_IDLE_COLLECTION, true)                   \
+  _("nurseryFreeThresholdForIdleCollectionPercent",                          \
+    JSGC_NURSERY_FREE_THRESHOLD_FOR_IDLE_COLLECTION_PERCENT, true)           \
+  _("pretenureThreshold", JSGC_PRETENURE_THRESHOLD, true)                    \
+  _("pretenureGroupThreshold", JSGC_PRETENURE_GROUP_THRESHOLD, true)
 
 static const struct ParamInfo {
   const char* name;
   JSGCParamKey param;
   bool writable;
 } paramMap[] = {
 #define DEFINE_PARAM_INFO(name, key, writable) {name, key, writable},
     FOR_EACH_GC_PARAM(DEFINE_PARAM_INFO)