Re:IBM says Swift is ready for the enterprise
by gpderetta on Monday September 26, 2016 @11:35AM
(#12582689)
That's not stop the world. Under RC, when a thread is destroying a complex data structure, other threads are free to keep doing useful work.
RC does otherwise have very bad interactions with threads of course.
edit: clarify
Re:IBM says Swift is ready for the enterprise
by pjmlp on Monday September 26, 2016 @12:26PM
(#12583197)
Just like a parallel GC.
RC is a stop-the-world garbage collector when the reference count reaches 0 in very complex data structures, which trigger a cascade of deletions.
Also it has issues with sharing data between threads leading to cache coherency contention and locks.