This article covers features introduced in SpiderMonkey 1.8.5

Flushes the code cache for the current thread. The operation might be delayed if the cache cannot be flushed currently because native code is currently executing.


void JS_FlushCaches(JSContext *cx);
Name Type Description
cx JSContext * The context. Requires request. In a JS_THREADSAFE build, the caller must be in a request on this JSContext.


Please provide a description. 

See also

Please provide a description. 

Document Tags and Contributors

Contributors to this page: Sheppy, MarkGiffin
Last updated by: Sheppy,