Plugging Java memory leaks with weak references

11
Anonymous Reader writes “While programs in the Java language are theoretically immune from “memory leaks,” there are situations in which objects are not garbage collected even though they are no longer part of the program’s logical state. This article explores a common cause of unintentional object retention and shows how to plug the leak with weak references.”

Link: ibm.com/developerworks

Category:

  • Java