YoVDO

Exploring Java Heap Dumps - Java Language

Offered By: Devoxx via YouTube

Tags

Devoxx Courses Memory Management Courses Memory Leaks Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Related Courses

Play by Play: Developing Microservices and Mobile Apps with JHipster
Pluralsight
Java Performance Tips Over 15 Years - What Did I Learn?
Devoxx via YouTube
Excellent Ways to Secure Your Spring Boot Application
Devoxx via YouTube
Incredible Things You Can Do with Micronaut & GraalVM
Devoxx via YouTube
10 Mistakes Hackers Want You to Make
Devoxx via YouTube