MCPcopy Create free account
hub / github.com/GNOME/gjs / gjs_maybe_gc

Function gjs_maybe_gc

gjs/jsapi-util.cpp:662–665  ·  view source on GitHub ↗

* gjs_maybe_gc: * * Low level version of gjs_context_maybe_gc(). */

Source from the content-addressed store, hash-verified

660 * Low level version of gjs_context_maybe_gc().
661 */
662void gjs_maybe_gc(JSContext* cx) {
663 JS_MaybeGC(cx);
664 gjs_gc_if_needed(cx);
665}
666
667const char* gjs_explain_gc_reason(JS::GCReason reason) {
668 if (JS::InternalGCReason(reason))

Callers 1

gjs_context_maybe_gcFunction · 0.85

Calls 1

gjs_gc_if_neededFunction · 0.85

Tested by

no test coverage detected