In Swift, great emphasis has been placed on strong reference cycle, and different ways to avoid it. If there are strong reference cycle between two variables, they will keep each other in memory forever, and cause the program to crash if large images or videos are been kept in memory by strong reference cycle.
I was just wondering if such concept exist in Java? Is it possible to unintentionally create something similar to strong reference cycle in Java? I have several months of Java experience, but I have never heard of anyone mentioning such concept in Java, even though Java do use reference variables to point to objects.