Java Garbage Collection
April 11, 2011 Leave a comment
Lucid Imagination has put together a good primer to garbage collection in Java:
Garbage collection in Java is the processes of freeing the dynamic memory used by objects that are no longer being used by an application. In languages such as or C or C++, the developer is often responsible for managing dynamic memory (using malloc and free or new and delete). However, in Java, this task is left up to something known as the garbage collector. A garbage collector automatically frees unused memory, freeing the developer from much of this thankless memory juggling.
Well worth reading.
Additionally here are some more links:
- Java Tuning White Paper
- Tuning Garbage Collection with the 5.0 Java[tm] Virtual Machine
- Ergonomics in the 5.0 Java[tm] Virtual Machine