The heap object that had been referenced by the SoftReference is declared finalizable.
SoftReference引用过的heap对象被声明为 finalizable 。
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 idea of a SoftReference is that you hold a reference to an object with the guarantee that all of your soft references will be cleared before the JVM reports an out-of-memory condition.
SoftReference的原理是:在保持对对象的引用时保证在JVM报告内存不足情况之前将清除所有的软引用。
The idea of a SoftReference is that you hold a reference to an object with the guarantee that all of your soft references will be cleared before the JVM reports an out-of-memory condition.
SoftReference的原理是:在保持对对象的引用时保证在JVM报告内存不足情况之前将清除所有的软引用。
应用推荐