Seems like the problem is GC'ed c++ side objects. 

Let's say there is a persistent object on the c++ side(AddNamedRoot..)
JS::Heap<JS:Value> host; <- AddNamedRoot.. called on this

at some point, I do create an object 

X_OBJECT = (JS_NewObject(.....))

host->setproperty->SOME_NAME = X_OBJECT

I do expect this X_OBJECT now has a reference on 'host' object so it shouldn't 
be GC'ed. As it was with SM 340.

SM 370 GarbageCollects 'some part of' this X_OBJECT. If I call AddNamedRoot.. 
on X_OBJECT (which I shouldn't) everything is fine.

_______________________________________________
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

Reply via email to