This allows for action to be taken before the heap object is reclaimed.
这使您能够在堆对象被回收之前采取行动。
The heap object that is referenced by the PhantomReference is declared finalizable.
PhantomReference引用过的heap对象被声明为finalizable。
The heap object that had been referenced by the SoftReference is declared finalizable.
SoftReference引用过的heap对象被声明为 finalizable 。
The heap object that had been referenced by the WeakReference is declared finalizable.
WeakReference引用过的heap对象被声明为finalizable。
The WeakReference object's referent field is set to null, thereby making it not refer to the heap object any longer.
WeakReference对象的referent 域被设置为 null ,从而使该对象不再引用heap 对象。
The SoftReference object's referent field is set to null, thereby making it not refer to the heap object any longer.
SoftReference对象的referent域被设置为null,从而使该对象不再引用heap对象。
The SoftReference object's referent field is set to null, thereby making it not refer to the heap object any longer.
SoftReference对象的referent域被设置为null,从而使该对象不再引用heap对象。
应用推荐