3 ms·
Is ARC actually safe from memory leaks? CMS GC doesn't choke your all for 100ms
by tamana 11y ago
Is ARC actually safe from memory leaks?
CMS GC doesn't choke your all for 100ms
- whyever 11y agoI think you can leak memory by having cycles.
- setpatchaddress 11y agoNo, you can still have memory leaks with ARC. In practice, the GC Apple was using prior to ARC could collect cycles, but it consumed a nontrivial number of CPU cycles compared to ARC. Apple's tools people seem to be unconvinced that GC is efficient enough for production use on slow CPUs.