3 ms·
How do you know that they exist, if you're not scanning that memory?
by int_19h 7y ago
How do you know that they exist, if you're not scanning that memory?
- zozbot234 7y agoThe data structure code can take care of this by registering GC roots with the garbage collector (and de-registering them if an external reference changes). It's no different in principle than any other smart pointer.