出典:Wiktionary
出典:『Wiktionary』 (2016/11/11 10:30 UTC 版)
weak reference (複数形 weak references)
出典:Wikipedia
出典:『Wikipedia』 (2011/06/11 01:09 UTC 版)
In computer programming, a weak reference is a reference that does not protect the referenced object from collection by a garbage collector. An object referenced only by weak references is considered unreachable (or "weakly reachable") and so may be collected at any time. Weak references are used to avoid keeping memory references by unneeded objects. Some garbage-collected languages feature or support various levels of weak references, such as Java, C#, Python, Perl or Lisp.