Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/FilteringLeakingObjectFinder/LeakingObjectFilter

LeakingObjectFilter

[jvm]\ fun interface LeakingObjectFilter

Filter to be passed to the FilteringLeakingObjectFinder constructor.

Functions

Name Summary
isLeakingObject [jvm]
abstract fun isLeakingObject(heapObject: HeapObject): Boolean
Returns whether the passed in heapObject is leaking. This should only return true when we’re 100% sure the passed in heapObject should not be in memory anymore.