Bug 940965 - Do not use Unagi's GC settings by default. r=h4writer

CLOSED TREE
This commit is contained in:
Nicolas B. Pierron 2013-12-17 07:00:32 -08:00
parent 0e08d6fadd
commit eb76504cdc

View File

@ -5928,7 +5928,7 @@ main(int argc, char **argv, char **envp)
#endif
size_t availMem = op.getIntOption("available-memory");
if (availMem >= 0)
if (availMem > 0)
JS_SetGCParametersBasedOnAvailableMemory(rt, availMem);
/* Set the initial counter to 1 so the principal will never be destroyed. */