This article covers features introduced in SpiderMonkey 31
Adjust performance parameters related to garbage collection based on available memory.
Syntax
void JS_SetGCParametersBasedOnAvailableMemory(JSRuntime *rt, uint32_t availMem);
Name | Type | Description |
---|---|---|
rt |
JSRuntime * |
The runtime to configure. |
value |
uint32_t |
The value of available memory in megabytes. |
Description
JS_SetGCParametersBasedOnAvailableMemory
adjusts the parameters of the garbage collection based on available memory.
See bug 950044 for details.