| java.lang.Object java.util.Hashtable sun.misc.WeakCache
WeakCache | public class WeakCache extends java.util.Hashtable (Code) | | This is a hash table that uses a sun.misc.Ref to store its values.
With each operation, this hash table will put a little
bit of work into checking for ref's that have been nulled out by the
GC. When it detects that this has happened, it removes the corresponding
key from the hashtable. This prevents the hashtable from leaking keys.
|
WeakCache | public WeakCache()(Code) | | |
WeakCache | public WeakCache(int initialCapacity)(Code) | | |
doSomeCleanup | protected synchronized void doSomeCleanup(int amountOfCleanup)(Code) | | |
|
|