Reference cycles on JVM are fine, since if the pai...
# kotlin-native
u
Reference cycles on JVM are fine, since if the pair is not gc root reachable, they both get eaten, so no problem (even if they reference each other). Does this hold true for kotlin native as well?
y
Yes, for both the old and new memory models. The old one had a runtime cycle breaker, and the new one is just a normal GC, so it automatically does the gc root reachibility stuff
u
Great, thanks!
Btw how? how did they break cycles before gc?