我们可以将不追踪对象复苏的弱引用称为一个短弱引用(short weak reference),而将追踪对象复苏的弱引用称为长弱引用(long weak reference)。
基于28个网页-相关网页
short weak reference
短弱参考
以上为机器翻译结果,长、整句建议使用 人工翻译 。
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 short weak reference table.
如果一个指针指向一个不在图中的对象,那么此对象就是一个不可到达的对象,垃圾收集器就将短弱引用表相应的槽置空。
youdao
应用推荐
模块上移
模块下移
不移动