Field Summary |
|
Enum Constant | PHANTOM Similar to weak references except the garbage collector doesn't actually
reclaim the referent. |
Enum Constant | SOFT Referent reclaimed in an LRU fashion when the VM runs low on memory and
no strong references exist. |
Enum Constant | STRONG Prevents referent from being reclaimed by the garbage collector. |
Enum Constant | WEAK Referent reclaimed when no strong or soft references exist. |