3 ms·
> Java should be immune to that, but no. I can't comment on Choco, but no garbage collector is immune against programmer's mistakes. For example, it's easy to
by zvrba 4y ago
> Java should be immune to that, but no.
I can't comment on Choco, but no garbage collector is immune against programmer's mistakes. For example, it's easy to create leaks with observable pattern (short-lived observers not unsubscribing from a long-lived observable). IOW: know when to use weak references.