Woshiadai Dev Notebook

March 31, 2008

Java Garbage Collection

Filed under: Uncategorized


A short article about different types of garbage collectors in Java

Never know that Java could have memory leak problem before since I believed that GC will do all the trick to reclaim unreachable objects. But actually it does due to "unintentional object retention". This is a good article explaining about this problem and providing suggestions to deal with it using things like WeakHashMap (finally I understand what this class is useful for).

Comments »

The URI to TrackBack this entry is: http://woshiadai.blogsome.com/2008/03/31/java-garbage-collection/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>























Get free blog up and running in minutes with Blogsome
Theme designed by Ben de Groot