Simple play icon Course
Skills Expanded

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

by droidcon NYC

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

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

Shark: Diving Into the Guts of LeakCanary's Hprof Parser
42mins

About the author

Droidcon is the largest global network of developer conferences which bring together the industry's foremost experts dedicated to advancing the Android platform. Droidcon engages a global network of over 25,000 developers attending events in 22 cities. The first droidcon conference was held in 2009 in Berlin and, since, it has spread its influence across the globe and established itself as the world's foremost community-driven conference format. Droidcon is the place to meet the international A... more

Ready to upskill? Get started