3 ms·
As I understand it: - unreachability means there's no live reference to that object. - access means somebody is going to use this object again. If you have a l
by littlestymaar 7y ago
As I understand it:
- unreachability means there's no live reference to that object.
- access means somebody is going to use this object again. If you have a live reference but won't ever use it again it's a kind of leak (that's how GCed languages can leak memory without any manual management).