Leak

sealed class Leak : Serializable

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

Types

Companion
Link copied to clipboard
object Companion

Functions

toString
Link copied to clipboard
open override fun toString(): String

Properties

leakTraces
Link copied to clipboard
abstract val leakTraces: List<LeakTrace>

Group of leak traces which share the same leak signature.

shortDescription
Link copied to clipboard
abstract val shortDescription: String
signature
Link copied to clipboard
abstract val signature: String

A unique SHA1 hash that represents this group of leak traces.

totalRetainedHeapByteSize
Link copied to clipboard
val totalRetainedHeapByteSize: Int?

Sum of LeakTrace.retainedHeapByteSize for all elements in leakTraces. Null if the retained heap size was not computed.

totalRetainedObjectCount
Link copied to clipboard
val totalRetainedObjectCount: Int?

Sum of LeakTrace.retainedObjectCount for all elements in leakTraces. Null if the retained heap size was not computed.

Inheritors

LibraryLeak
Link copied to clipboard
ApplicationLeak
Link copied to clipboard