In Java, the main difference between SoftReference and WeakReference is how the collector will work with them. It can delete an object at any time if only weak links point to it, on the other hand, objects with a soft link will be collected only when the JVM really needs memory.
White Cheese (Burgos) - Developing
Very new or simple note, likely to evolve and change.
Click the cheese icon to learn more
Soft And Weak References in Java
Author: guiferviz
Created:
Last Modified: