4 ms·
I haven't used Java since school so I'm curious about modern Java. Do you need to worry about circular references preventing garbage collection or are there eas
by trinovantes 4y ago
I haven't used Java since school so I'm curious about modern Java. Do you need to worry about circular references preventing garbage collection or are there easy tools to detect such cases?
- deleted 4y ago[deleted]
- ponow 4y agoJava will collect sets of objects with circular references: https://stackoverflow.com/questions/1910194/how-does-java-garbage-collection-work-with-circular-references https://stackoverflow.com/questions/1910194/how-does-java-ga...
- School-Cotton 4y agoCircular references have never prevented garbage collection in any version of Java AFAIK.