Skip to content
chewiebug edited this page Jul 16, 2014 · 21 revisions

Some interesting links concerning garbage collection

Know how about java gc

(Sun / Oracle / OpenJDK)
Javaworld article rather old but generations well explained
Sun's memory management white paper lots of background knowledge but only up to java 1.5
Oracle's tuning guide for java 6 extensive information on all gc algorithms including recommendations (except G1)
Monika Beckwith's presentation at JavaONE 2013 on G1 Garbage-First Collector: Current and Future Adaptability and Ergonomics (including tuning tips)
Garbage First Garbage Collector Tuning official tuning guide for G1 collector by Monica Beckwith
Eric Bruno (Dr. Dobb's) explains G1 how does G1 work?
Angelika Langer's article on garbage collection algorithms (German) in depth information on gc algorithms written in German
Angelika Langer's article on 'Garbage Collection Tuning' (German) helpful information on tuning goals and how to achieve them in German
How to tame java GC pauses? (Alexay Ragozin) Tuning of large heaps (16GB and larger) using CMS

JVM options

Alexey Ragozin's blog JVM garbage collection options cheat sheet very clearly laid out (including G1 options)
options for performance tuning Nicely commented list of command line options for Oracle JDK on techpaste.com
Oracle's list of -XX options includes defaults per option
tagtraum industries list of vm flags The initial developer of GCViewer collected quite a few vm options (up to java 1.5)

(other) Tools

IBM's Garbage Collection and Memory Visualizer very powerful analyser - doesn't support detailed G1 log files yet (only basic G1 logs [-verbose:gc or -XX:+PrintGC] as of 01/21/2012)

Clone this wiki locally