Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

JS_FlushCaches

Obsolete since JSAPI 15
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

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.

Syntax

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.

Description

.

See also

Document Tags and Contributors

 Contributors to this page: arai, Sheppy, markg
 Last updated by: arai,