Re: [webcomponents] Custom elements disconnected from a document should not be upgraded (#419)

Another problem is eden collection versus major collections in (multi) generational GC.  Depending on what heuristics are used, you may decide that some elements should not be collected in minor GC even if there was no JS reference to it.

In theory, we should be able to always trigger precise full GC which can deterministically tell us how many weak and strong references we have, I don't think that's an acceptable implementation requirement for many browser vendors.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/419#issuecomment-193541814

Received on Tuesday, 8 March 2016 01:18:30 UTC