 <code>SoftReference</code> and a <code>WeakReference</code> is
 the point of time at which the decision is made to clear and enqueue the
 reference:

 <ul>
   <li>
     A <code>SoftReference</code> should be cleared and enqueued <em>as late as
     possible</em>, that is, in case the VM is in danger of running out of
     memory.
   </li>
   <li>
     A <code>WeakReference</code> may be cleared and enqueued as soon as is
     known to be weakly-referenced.
   </li>
 </ul>
</p>





</div><!-- jd-descr -->
