Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

JVM Garbage Collection Explained

11,703 views

Published on

This presentation is based on my article : http://jyops.blogspot.in/2012/09/java-memory-model-simplified.html. We will have an inside look at the working of JVM Garbage Collection with a demo.

Published in: Technology
  • Be the first to comment

JVM Garbage Collection Explained

  1. 1. JVM Garbage Collection Explained Manu PK @manupk12 http://www.jyops.blogspot.in/ Eclipse Day India 2013 - Sept 27, 2013
  2. 2. About Me
  3. 3. Agenda  Overview of memory allocations in JVM  Java Profiling tools and Introduction to VisualVM  Demo: Using VisualGC plug-in inside Java VisualVM
  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. Java Profiling tools and Introduction to VisualVM
  6. 6. Using VisualGC plug-in inside Java VisualVM  Demo – Java Visual VM and Visual GC  The Memory Tester App – You can get this from here.  GC Lifecycle  Object state transition from Eden to Survivor space – Old Gen.
  7. 7. Demo Explained: GC Indicators  Garbage Collection Concepts
  8. 8. Questions / Comments / Feedback @manupk12| manu.pk@outlook.com Slides @ http://www.slideshare.net/pkmanu
  9. 9. References  Java Memory Profiling Simplified  JVM Memory Structure  VisualVM performance tuning tool  Understanding Java Garbage Collection  Java Garbage Collection Basics  Java theory and practice: A brief history of garbage collection  Memory Management in the Java HotSpot™ Virtual Machine
  10. 10. Thank You for Listening

×