go top

长弱引用

网络释义

  long weak reference

...追踪对象复苏的弱引用称为一个短弱引用(short weak reference),而将追踪对象复苏的弱引用称为长弱引用long weak reference)。如果一个对象的类型没有重写Finalize方法,那么短弱引用和长弱引用的行为是一样的。

基于14个网页-相关网页

有道翻译

长弱引用

Long weak citation

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • 在必要使用引用因为终止后对象状态不可预知的。

    Use long weak references only when necessary as the state of the object is unpredictable after finalization.

    youdao

  • 如果指针指向不在中的对象(注意此时图中已包含Finalize可到达对象),那么对象就是一个不可到达的对象,垃圾收集器就将引用相应的槽置空

    If a pointer pointing to an object not in the graph, then the object is not a reachable object, and then garbage collector sets the slot to null in the long weak reference table.

    youdao

  • 周期对象销毁周期对象对短周期对象引用依然会保留下来

    The weak reference from the long-lived object to the short-lived object is kept long after the short-lived object has been destroyed.

    youdao

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

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

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