WeakReference and WeakHashMap

Please go to Biting Code. There you will find the post that was here, and much more stuff about Java and JVM-based languages.

When in Java strong references are not enough, WeakReference and WeakHashMap could help us to save the day.
Some words on why they are useful and how garbage collector deals with them.

No comments:

Post a Comment