The most common source of unintentional object retention is the use of a Map to associate metadata with transient objects.
无意识对象保留最常见的原因是使用Map将元数据与临时对象(transient object)相关联。
For example, last time we saw how failing to demarcate an object's lifecycle could cause unintentional object retention when trying to associate metadata with transient objects.
例如,上一次我们看到了,不能划分对象的生命周期会导致,在试图将元数据关联到瞬时对象时出现意外的对象保持。
For example, last time we saw how failing to demarcate an object's lifecycle could cause unintentional object retention when trying to associate metadata with transient objects.
例如,上一次我们看到了,不能划分对象的生命周期会导致,在试图将元数据关联到瞬时对象时出现意外的对象保持。
应用推荐