Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/KeyedWeakReferenceFinder

KeyedWeakReferenceFinder

[jvm]\ object KeyedWeakReferenceFinder : LeakingObjectFinder

Finds all objects tracked by a KeyedWeakReference, ie all objects that were passed to ObjectWatcher.watch.

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.
heapDumpUptimeMillis [jvm]
fun heapDumpUptimeMillis(graph: HeapGraph): Long?