Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/FilteringLeakingObjectFinder

FilteringLeakingObjectFinder

[jvm]\ class FilteringLeakingObjectFinder(filters: List<FilteringLeakingObjectFinder.LeakingObjectFilter>) : LeakingObjectFinder

Finds the objects that are leaking by scanning all objects in the heap dump and delegating the decision to a list of FilteringLeakingObjectFinder.LeakingObjectFilter

Constructors

FilteringLeakingObjectFinder [jvm]
constructor(filters: List<FilteringLeakingObjectFinder.LeakingObjectFilter>)

Types

Name Summary
LeakingObjectFilter [jvm]
fun interface LeakingObjectFilter
Filter to be passed to the FilteringLeakingObjectFinder constructor.

Functions

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