Bug 950044 - Fix miss-interpretation of current Desktop GC settings. r=gwagner

This commit is contained in:
Nicolas B. Pierron 2014-04-14 08:32:02 -07:00
parent fd58bde9f6
commit 1026a06ffa

View File

@ -2044,10 +2044,8 @@ JS_SetGCParametersBasedOnAvailableMemory(JSRuntime *rt, uint32_t availMem)
{JSGC_MAX_MALLOC_BYTES, 6 * 1024 * 1024},
{JSGC_SLICE_TIME_BUDGET, 30},
{JSGC_HIGH_FREQUENCY_TIME_LIMIT, 1000},
// This are the current default settings but this is likely inverted as
// explained for the computation of Next_GC in Bug 863398 comment 21.
{JSGC_HIGH_FREQUENCY_HIGH_LIMIT, 100},
{JSGC_HIGH_FREQUENCY_LOW_LIMIT, 500},
{JSGC_HIGH_FREQUENCY_HIGH_LIMIT, 500},
{JSGC_HIGH_FREQUENCY_LOW_LIMIT, 100},
{JSGC_HIGH_FREQUENCY_HEAP_GROWTH_MAX, 300},
{JSGC_HIGH_FREQUENCY_HEAP_GROWTH_MIN, 150},
{JSGC_LOW_FREQUENCY_HEAP_GROWTH, 150},