LeakingObjectFilter

fun interface LeakingObjectFilter

Filter to be passed to the FilteringLeakingObjectFinder constructor.

Functions

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