Quick-and-Dirty caching fix for Java memory leaks

Posted by VISITOR on Jan 26, 2006 7:18 PM EDT
developerWorks; By IBM
Mail this story
Print this story

This article shows you how Soft references, like weak references, can help applications prevent object loitering by enlisting the aid of the garbage collector in making cache eviction decisions.

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 shows you how Soft references, like weak references, can help applications prevent object loitering by enlisting the aid of the garbage collector in making cache eviction decisions.

Full Story

  Nav
» Read more about: Story Type: News Story; Groups: Community, IBM

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.