weakreference:

        
    A weak reference is a reference that does not protect the referenced object from collection by a garbage collector. Weak references are used in areas such as caching, where you want to keep a reference to an object for re-use but allow the system to reclaim it if memory grows low. Some garbage-collected languages feature or support various levels of weak references, such as Java, C#, Python, Perl and Lisp.

与weakreference相关的文章




站内导航:


特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

©2012-2021,,E-mail:www_#163.com(请将#改为@)

浙ICP备11055608号-3