JVM Tuning in a rush!
summary
Covers quick, actionable JVM fixes for HotSpot: enable GC logging with -Xloggc and detailed flags, inspect GC pauses to choose long pause vs many short pauses strategies, set Xms=Xmx to avoid runtime expansion, and watch permgen→metaspace sizing. Recommends monitoring before crisis, load testing with Gatling, log aggregation with ELK, and using jps/jinfo/jvisualvm to capture thread dumps, heap dumps and flag changes. Lists common OOME flavors (heap, native thread, perm/metaspace) and OS limits (ulimit, file descriptors).
AI-written summary · about
chapters (16)
- 0:00Introduction and speaker background
- 3:52JVM tuning in crisis situations
- 7:06Know your traffic and limits
- 10:01Recent changes and performance tests
- 15:22JVM basics and memory structure
- 20:08Out of memory errors explained
- 23:45Heap, CHeap, and thread memory
- 27:17Generational garbage collection
- 31:10Minor, major, and full GC pauses
- 36:57GC tuning strategies and tradeoffs
- 38:00Demo: GC logging and analysis
- 42:50Diagnosing performance problems
- 47:29Operating system and Linux tools
- 49:15Finding and managing Java processes
- 51:22JVM monitoring and tools
- 52:56Final advice and Q&A
