• The heap object that had been referenced by the SoftReference is declared finalizable.

    SoftReference引用heap对象声明为 finalizable

    youdao

  • 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对象。

    youdao

  • When the heap object's finalize method is run and its memory freed, the SoftReference object is added to its ReferenceQueue, if it exists.

    heap对象finalize方法运行而且对象占用的内存被释放S of tReference对象就被添加的ReferenceQueue(如果后者存在的话)。

    youdao

  • Therefore, you know that an object has been declared finalizable and possibly, but not necessarily, collected, when the get method of the WeakReference or SoftReference class returns null.

    这样可以知道WeakReferencesoftreferenceget方法返回null时,就有一个对象声明为finalizable而且可能(不过不一定)被收集

    youdao

  • 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报告内存不足情况之前清除所有引用

    youdao

  • 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报告内存不足情况之前清除所有引用

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定