KeyedWeakReferenceFinder

object KeyedWeakReferenceFinder : LeakingObjectFinder

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

Functions

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

Link copied to clipboard
fun heapDumpUptimeMillis(graph: HeapGraph): Long?