Search completed in 1.35 seconds.
5 results for "js_markgcthing":
Index
Mozilla › Projects › SpiderMonkey › Index
orOp JSAPI Reference, Obsolete, Reference, Reference(2), SpiderMonkey The JavaScript engine calls the JSExtendedClass.iteratorObject callback to create an iterator object for a given object. The callback should return an iterator object or NULL if an error or exception occurred on cx. 124 JSMarkOp JSAPI Reference, Obsolete, Reference, Reference(2), SpiderMonkey Call JS_MarkGCThing for each GC thing directly reachable from obj. Use JSVAL_IS_GCTHING to check whether a value needs to be marked and JSVAL_TO_GCTHING to convert the jsval to a pointer. 125 JSNative JSAPI Reference, SpiderMonkey JSNative is the type of native implementations of JavaScript functions. Full documentation of how to define a JSNative (or a JSFastNative, the equivalent typedef whic...
JSMarkOp
Mozilla › Projects › SpiderMonkey › JSAPI reference › JSMarkOp
sure that the tracing APIs work properly. Syntax typedef uint32 (* JSMarkOp)(JSContext *cx, JSObject *obj, void *arg); Name Type Description cx JSContext * The JS context in which the mark phase of garbage collection is occurring. obj JSObject * The object to be marked. arg void * Opaque data which the mark hook must pass through to JS_MarkGCThing. Description Call JS_MarkGCThing for each GC thing directly reachable from obj. Use JSVAL_IS_GCTHING to check whether a value needs to be marked and JSVAL_TO_GCTHING to convert the jsval to a pointer. JSClass hooks JSClass offers the following hook: The JavaScript engine calls the JSClass.mark callback during the mark phase of garbage collection. See Also JSClass bug 63829...
JSAPI reference
Mozilla › Projects › SpiderMonkey › JSAPI reference
If a variable is a root, then anything it points to will not be freed by the garbage collector. Failure to root objects is a very common cause of ...
SpiderMonkey 1.8.5
Mozilla › Projects › SpiderMonkey › Releases › 1.8.5
is change was made in bug 571355 to move the regexp statics out of the context, to simplify cross compartment wrappers. Property accessors JS_PropertyStub, JS_ResolveStub, and user-defined functions of type JSPropertyOp (e.g. getters and setters) changed from passing jsvals to passing jsid as part of bug 549143. This bug introduced "fat" (64-bit) unboxed valued into the engine. Garbage collection JS_MarkGCThing was changed in bug 549143 to mark jsvals rather than void pointers (GC root addresses), improving the typed rooting API which was introduced in bug 565157. A conservative stack-scanning collector was also added for SpiderMonkey 1.8.5, making the *LocalRootScope APIs obsolete; they are now NOPs. bug 614138 introduces a C++ JS::Anchor<> template class to help tie lexical scope to the conservative G...
SpiderMonkey 1.8.7
Mozilla › Projects › SpiderMonkey › Releases › 1.8.7
is change was made in bug 571355 to move the regexp statics out of the context, to simplify cross compartment wrappers. Property accessors JS_PropertyStub, JS_ResolveStub, and user-defined functions of type JSPropertyOp (e.g. getters and setters) changed from passing jsvals to passing jsid as part of bug 549143. This bug introduced "fat" (64-bit) unboxed valued into the engine. Garbage collection JS_MarkGCThing was changed in bug 549143 to mark jsvals rather than void pointers (GC root addresses), improving the typed rooting API which was introduced in bug 565157. A conservative stack-scanning collector was also added for SpiderMonkey 1.8.5, making the *LocalRootScope APIs obsolete; they are now NOPs. Bug 614138 introduces a C++ JS::Anchor<> template class to help tie lexical scope to the conservative ...