Skip to content
🤔 Documentation issue? Report it

//leakcanary/shark/Leak

Leak

sealed class Leak : Serializable

A leak found by HeapAnalyzer, either an ApplicationLeak or a LibraryLeak.

Types

Name Summary
Companion object Companion

Functions

Name Summary
toString open override fun toString(): String

Properties

Name Summary
leakTraces abstract val leakTraces: List<LeakTrace>
Group of leak traces which share the same leak signature.
shortDescription abstract val shortDescription: String
signature abstract val signature: String
A unique SHA1 hash that represents this group of leak traces.
totalRetainedHeapByteSize val totalRetainedHeapByteSize: Int?
Sum of LeakTrace.retainedHeapByteSize for all elements in leakTraces. Null if the retained heap size was not computed.
totalRetainedObjectCount val totalRetainedObjectCount: Int?
Sum of LeakTrace.retainedObjectCount for all elements in leakTraces. Null if the retained heap size was not computed.

Inheritors

Name
LibraryLeak
ApplicationLeak