This article covers features introduced in SpiderMonkey 17

A wrapper for js_free.

Syntax

void
JS_freeop(JSFreeOp *fop, void *p);
Name Type Description
fop JSFreeOp * A pointer to JSFreeOp structure to be used to get the implementation of free.
p void * A pointer to the allocated memory to be freed.

Description

JS_freeop is a wrapper for js_free(p) that may delay js_free(p) invocation as a performance optimization as specified by the given JSFreeOp instance.

See Also