Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.
JVM Memory Profiling using Java Mission
Control
Manu PK
@manupk12
http://blog.manupk.com/
Java User Group Meetup - Aug 22,...
About Me
Agenda
 Overview of memory allocations in JVM
 Demo - Memory monitoring using VisualVM
 Introduction to Java Mission Co...
Overview of memory allocations in JVM
 Stack and Heap memory in Java
 Hey Object where do you live?
 Objects are create...
Demo-Memory monitoring using VisualVM-
1
Demo-Memory monitoring using VisualVM-
2
 Demo – Java Visual VM and Visual GC
 The Memory Tester App
 GC Lifecycle
 Ob...
Demo Explained: GC Indicators-3
 Garbage Collection Concepts
Introduction to Java Mission Control
 The JDK profiling and diagnostics tools platform
 A tools suite for production use...
Java Mission Control Tools
 Two main tools:
 Management Console
 One of the best JMX Consoles available
 Use for monit...
Demo:
 Flags:
 -XX:+UnlockCommercialFeatures -
XX:+FlightRecorder LoadAndDeadlock
Questions / Comments /
Feedback
@manupk12| manu.pk@outlook.com
Slides @
http://www.slideshare.net/pkmanu
References
 Java Memory Profiling Simplified
 JVM Memory Structure
 VisualVM performance tuning tool
 Java Garbage Col...
Thank You
for Listening
Próxima SlideShare
Cargando en…5
×

JVM Memory Profiling using Java Mission Control

642 visualizaciones

Publicado el

This presentations discuses different parts of JVM memory and how to profile the memory issues using Visual VM and Java MIssion Control.

Publicado en: Tecnología
  • Sé el primero en comentar

  • Sé el primero en recomendar esto

JVM Memory Profiling using Java Mission Control

  1. 1. JVM Memory Profiling using Java Mission Control Manu PK @manupk12 http://blog.manupk.com/ Java User Group Meetup - Aug 22, 2015
  2. 2. About Me
  3. 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. 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.
  5. 5. Demo-Memory monitoring using VisualVM- 1
  6. 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.
  7. 7. Demo Explained: GC Indicators-3  Garbage Collection Concepts
  8. 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. 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
  10. 10. Demo:  Flags:  -XX:+UnlockCommercialFeatures - XX:+FlightRecorder LoadAndDeadlock
  11. 11. Questions / Comments / Feedback @manupk12| manu.pk@outlook.com Slides @ http://www.slideshare.net/pkmanu
  12. 12. References  Java Memory Profiling Simplified  JVM Memory Structure  VisualVM performance tuning tool  Java Garbage Collection Basics  Memory Management in the Java HotSpot™ Virtual Machine  JMC Demo code in github  JMC Oracle homepage  Markus Hirt’s Article
  13. 13. Thank You for Listening

×