On 11/26/15 5:01 PM, smaug wrote:
One concern, or more like 'a thing to keep in mind', memory management, more precisely *collector optimizations. Cycle collector has the advantage that it deals with the possible-garbage objects, not live objects and it is easy and usually fast to optimize out certainly alive objects from CC graph. Though, perhaps gGC and minorGCs would work rather well with self-hosted DOM.
So this is more focusing on the structure of the ownership graph, and on whether things are stored in JS object slots, right? It doesn't really depend on whether the object implementation is C++ or self-hosted JS, except to the extent that using the latter makes storing things in slots more tempting.
-Boris _______________________________________________ dev-tech-js-engine-internals mailing list dev-tech-js-engine-internals@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals