3. Agenda
Overview of memory allocations in JVM
Demo - Memory monitoring using VisualVM
Introduction to Java Mission Control
Management Console
Most comprehensive JMX Consoles available
Flight Recorder
Built in, high performance JVM event recorder
Demo - JMC
4. Overview of memory allocations in JVM
Stack and Heap memory in Java
Hey Object where do you live?
Objects are created on the heap, and only references
(which in turn are primitives) are passed around on the
stack.
6. Demo-Memory monitoring using VisualVM-
2
Demo – Java Visual VM and Visual GC
The Memory Tester App
GC Lifecycle
Object state transition from Eden to Survivor space – Old
Gen.
8. Introduction to Java Mission Control
The JDK profiling and diagnostics tools platform
A tools suite for production use (fine in
development too)
Real time monitoring of key indicators and events
Production time profiling and diagnostics
Focus on low overhead
Built into the JVM
Already available runtime information
High performance implementation
9. Java Mission Control Tools
Two main tools:
Management Console
One of the best JMX Consoles available
Use for monitoring
Flight Recorder
High performance JVM event recorder
Use for diagnostics, profiling