(no title)
billjings | 1 year ago
There is one case where a "circular" reference can appear to cause a leak that I know of: WeakHashMap. But that's because the keys, which are indeed cleaned up at some point once the associated value is GC'd, are themselves strongly retained references.
chopin|1 year ago
Edit: another one is swapping code by swapping class loaders. That can retain static references in the runtime class loader.