JVM Guides & How-tos
Practical, example-first guides for working with the JVM: reading thread and heap dumps, tuning JVM flags, and analyzing garbage collection - real commands, not just theory.
Practical, example-first guides for working with the JVM: reading thread and heap dumps, tuning JVM flags, and analyzing garbage collection - real commands, not just theory.
Understand and tune JVM flags: heap sizing (-Xmx/-Xms), default -XX settings, GC and JFR flags, how to inspect and mutate flags with jinfo and jcmd.
Step-by-step heap dump analysis: capture with jmap/jcmd, enable -XX:+HeapDumpOnOutOfMemoryError, open in Eclipse MAT, and use OQL to find leaks.
Read Java thread dumps to find hangs, deadlocks and blocked threads: capture with jstack/jcmd, identify thread states, and spot the culprit stack.