Java
You're viewing a free preview. Sign in free to read every script.
Why this exists The Troubleshooting a JVM in Production page lists the commands. This page uses them, on three small programs that each contain a real, classic bug, so that you have seen what the output looks like…
Diagnosing a Live JVM for Real: High CPU, a Deadlock and a Memory Leak with jcmd, Thread Dumps and JFR
Three production incidents reproduced and diagnosed with real output: a thread stuck at 100% CPU (thread dump, then a Flight Recorder profile), a deadlock the JVM reports by name, and a heap that fills until OutOfMemoryError (class histogram, heap dump on OOM).
Sign in free to read this script, along with the rest of the library.
Sign in free