Y
Hacker News
new
|
ask
|
show
|
jobs
by
trinovantes
1433 days 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?
2 comments
School-Cotton
1433 days ago
Circular references have never prevented garbage collection in any version of Java AFAIK.
link
ponow
1433 days ago
Java will collect sets of objects with circular references:
https://stackoverflow.com/questions/1910194/how-does-java-ga...
link