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

Companion
Link copied to clipboard
object Companion

Functions

findLeakingObjectIds
Link copied to clipboard
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

FilteringLeakingObjectFinder
Link copied to clipboard
KeyedWeakReferenceFinder
Link copied to clipboard