Your Search Results

    JS SetGCParameter

    Adjust performance parameters related to garbage collection.


    typedef enum JSGCParamKey {
        JSGC_STACKPOOL_LIFESPAN Added in SpiderMonkey 1.8 Obsolete since JSAPI 12,
        JSGC_TRIGGER_FACTOR Added in SpiderMonkey 1.8.1 Obsolete since JSAPI 6,
        JSGC_BYTES Added in SpiderMonkey 1.8.1,
        JSGC_NUMBER Added in SpiderMonkey 1.8.1
    } JSGCParamKey;
    uint32 JS_GetGCParameter(JSRuntime *rt, JSGCParamKey key);Added in SpiderMonkey 1.8.1
    void JS_SetGCParameter(JSRuntime *rt, JSGCParamKey key, uint32 value);
    Name Type Description
    rt JSRuntime * The runtime to configure.
    key JSGCParamKey Specifies which garbage collection parameter to get or set.
    value uint32 (JS_SetGCParameter only) The value to assign to the parameter.


    MXR ID Search for JS_GetGCParameter
    MXR ID Search for JS_SetGCParameter

    Document Tags and Contributors

    Contributors to this page: Jorend
    Last updated by: Jorend,