go top

referencequeue

网络释义

  引用队列

幻影引用和软引用与弱引用的区别在于:幻影引用必须和引用队列ReferenceQueue)一起使用。幻影引用可以用来跟踪对象被回收的活动,因为当垃圾回收器准备回收一个对象时,如果发现它还有幻影引用,就会在回收之...

基于228个网页-相关网页

  援用队列

有了援用队列ReferenceQueue),就能够便利的获取到这些弱援用对象,将它们从表中删除。在软援用跟弱援用对象被增加到队列之前,其对实际对象的援用会被主动清...

基于36个网页-相关网页

双语例句

  • Each of the reference classes has a get method, and the ReferenceQueue class has a poll method.

    每个引用get方法Reference Queue有一个poll方法。

    youdao

  • This means that the garbage collector freed the memory for MyObject, enabling the WeakReference object to be placed on its ReferenceQueue.

    意味着垃圾收集器释放MyObject占用的内存从而使WeakReference对象可以放在它的Reference Queue上。

    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对象就被添加的Reference Queue(如果后者存在的话)。

    youdao

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

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

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