> Potential issues I see with the design:
>
>  - there are Root, Handle and MutableHandle types that work on SM GC
> things, but there's no equivalent of the rooting analysis (that I could
> see) that prevents you from keeping unrooted GC thing pointers live over an
> operation that could GC.
>
>  - even though raw DOM nodes aren't much use on their own, there's nothing
> to people using them and passing them around and then they won't be
> traced.  Probably not a big deal.
>
>

I'm pretty sure the must_root lint stops this from happening, except in a
couple of cases which are pretty convoluted and not likely to come up.
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to