Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Exploring Java Heap Dumps - Java Language

Devoxx via YouTube

Overview

Explore advanced techniques for analyzing Java heap dumps in this 32-minute conference talk. Learn how to tackle complex memory leaks in large production systems by building custom tools using Apache NetBeans Profiler/Heapwalker APIs. Discover methods for programmatically reading and analyzing Java heaps, enabling rapid examination of intricate object graphs containing thousands of objects. Gain insights into heap dump generation, targeted heap dumps, and custom profiler development. Delve into topics such as garbage collection roots, class lookups, and data model exploration. Master best practices for efficient heap management and learn to identify and resolve challenging memory issues in Java applications.

Syllabus

Intro
Java Heap Review
Why Analyze Heaps?
Production Heap Dumps
Heap Dump Panic
Real Memory Leaks
What about OQL?
Heap Analysis Solution
NetBeans Profiler API
Generating Heap Dumps
Heap Dump Warning Dumping the leap
Targeted Heap Dumps
Building Custom Profiler
NetBeans Platform App
Profiler Sources
Which Approach?
Opening a Heap
Heap Object Methods
System Properties
Heap Summary
Exploration Starting points
GC Roots
Garbage Collection Roots
GCRoot Objects
Finding Classes Can perform lookup using
Profiler Data Model
Instances
Example: Member Variables
Example: Static Variables
Example: References
String Implementation
String Extraction
LinkedList Implementation
LinkedList Extract
ArrayList
Thread Extraction
Noise: Ignore Internal Classes
Puzzler
Demo App
String Utilization
Data Model Leak
Best Practices - Be mindful of your heap

Taught by

Devoxx

Reviews

Start your review of Exploring Java Heap Dumps - Java Language

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.