I was just reading a patch by someone who read
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/GC_Rooting_Guide
to figure out how to deal with GCThings.
The result was that they had a Heap<T> that they were not tracing.
I'm not quite willing to start hacking my own opinions into this page,
but I'd propose the following changes:
1) In the "Summary" section make it clear that Heap<T> has to be
traced. Otherwise it's easy to miss in the one place it's mentioned.
2) Mention PersistentRooted somewhere in here.
-Boris
_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals