Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I haven't looked at Java Garbage Collection for a while and feel the need for a refresher on it.

Anyone recommend a resource or two?

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

This document is about tuning, but will also give you a good overview about garbage collection/memory management in Java.

When you do have special questions, perhaps it is answered here.

share|improve this answer
add comment

IBM has a good article: Java theory and practice: Garbage collection and performance (read about finalizers and how they can be bad).

In the end, I often go to "Effective Java". Bloch says "Finalizers are unpredictable, often dangerous, and generally unnecessary".

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.