java.lang.ref.WeakReference

A weak reference is one which is garbage collected when there are no strong references to it.