<p>Am 21.09.2014 06:11 schrieb "Boian Mitov" <<a href="mailto:mitov@mitov.com">mitov@mitov.com</a>>:<br>
><br>
> Unless you implement something like the semi-deterministic GC that I proposed few years ago, weak pointers are the only solution for avoiding circular reference deadlock in ARC as far as I know. They are simply necessary evil, and a small one base on my current experience with them.</p>
<p>There are cycle detection algorithms that could be used upon a decrease of a reference count. Biggest problem is that they would be quite expensive (regarding performance) in case of complex object instance "graphs" like the LCL/VCL.</p>
<p>Regards,<br>
Sven</p>