SoftReference « Collections Data Structure « Java






1.A soft reference holds onto its referent until memory becomes low.
2.A weak reference is used to determine when an object is no longer being referenced.
3.A phantom reference is used to determine when an object is just about to be reclaimed.
4.Testing SoftReference
5.Testing WeakReference
6.Testing PhantomReference
7.Soft ValueMap
8.An implementation of Set that manages a map of soft references to the set values.
9.Cache based on SoftReference