Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Course
    • Libraries: If you want this course, consider one of these libraries.
    • Core Tech

droidcon NYC '19: Shark: Diving Into the Guts of LeakCanary's Hprof Parser

droidcon NYC 2019 | Shark: Diving Into the Guts of LeakCanary's Hprof Parser | Pierre-Yves Ricau

droidcon NYC - Pluralsight course - droidcon NYC '19: Shark: Diving Into the Guts of LeakCanary's Hprof Parser
droidcon NYC
What you'll learn

LeakCanary, a memory leak detection library for Android, that was slow and used a lot of memory. For LeakCanary 2, Pierre-Yves Ricau wrote a new heap dump parser, Shark, which uses 10 times less memory and is 6 times faster. In this session, Pierre dives to the byte level, builds up to efficiently compute shortest paths and dominators (graph theory without any math), and uses profiling tools to optimize algorithms and data structures where it matters.

Table of contents

About the author
droidcon NYC - Pluralsight course - droidcon NYC '19: Shark: Diving Into the Guts of LeakCanary's Hprof Parser
droidcon NYC

Droidcon New York is where the industry's leading Android experts converge to support the Android platform and create a strong network for developers and companies.

Get access now

Sign up to get immediate access to this course plus thousands more you can watch anytime, anywhere.

Get started with Pluralsight