Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/ApplicationLeak

ApplicationLeak

[jvm]\ data class ApplicationLeak(val leakTraces: List<LeakTrace>) : Leak

A leak found by HeapAnalyzer in your application.

Constructors

ApplicationLeak [jvm]
constructor(leakTraces: List<LeakTrace>)

Types

Name Summary
Companion [jvm]
object Companion

Functions

Name Summary
toString [jvm]
open override fun toString(): String

Properties

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