Skip to content
🤔 Documentation issue? Report it

//leakcanary/shark/LeakingObjectFinder

LeakingObjectFinder

fun interface LeakingObjectFinder

Finds the objects that are leaking, for which Shark will compute leak traces.

This is a functional interface with which you can create a LeakingObjectFinder from a lambda.

Types

Name Summary
Companion object Companion

Functions

Name Summary
findLeakingObjectIds abstract fun findLeakingObjectIds(graph: HeapGraph): Set<Long>
For a given heap graph, returns a set of object ids for the objects that are leaking.

Inheritors

Name
FilteringLeakingObjectFinder
KeyedWeakReferenceFinder