Bug 1118560 - Update GC_PARAMETER_ARGS_LIST to keep it in sync with paramMap r=terrence
authorJon Coppeard <jcoppeard@mozilla.com>
Fri, 09 Jan 2015 09:56:45 +0000
changeset 248808 a560b1139a5f5a36cf8120ce511425e779135172
parent 248807 6d425a16fe7ccd60b2dbd2d4050d41e750964a01
child 248809 94b823b0d44500efe2f3aeb26068602d9ce8a791
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersterrence
bugs1118560
milestone37.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 1118560 - Update GC_PARAMETER_ARGS_LIST to keep it in sync with paramMap r=terrence
js/src/builtin/TestingFunctions.cpp
--- a/js/src/builtin/TestingFunctions.cpp
+++ b/js/src/builtin/TestingFunctions.cpp
@@ -267,17 +267,17 @@ static const struct ParamPair {
     {"gcNumber",            JSGC_NUMBER},
     {"sliceTimeBudget",     JSGC_SLICE_TIME_BUDGET},
     {"markStackLimit",      JSGC_MARK_STACK_LIMIT},
     {"minEmptyChunkCount",  JSGC_MIN_EMPTY_CHUNK_COUNT},
     {"maxEmptyChunkCount",  JSGC_MAX_EMPTY_CHUNK_COUNT}
 };
 
 // Keep this in sync with above params.
-#define GC_PARAMETER_ARGS_LIST "maxBytes, maxMallocBytes, gcBytes, gcNumber, sliceTimeBudget, or markStackLimit"
+#define GC_PARAMETER_ARGS_LIST "maxBytes, maxMallocBytes, gcBytes, gcNumber, sliceTimeBudget, markStackLimit, minEmptyChunkCount or maxEmptyChunkCount"
 
 static bool
 GCParameter(JSContext *cx, unsigned argc, Value *vp)
 {
     CallArgs args = CallArgsFromVp(argc, vp);
 
     JSString *str = ToString(cx, args.get(0));
     if (!str)