Library Leak
data class LibraryLeak(leakTraces: List<LeakTrace>, pattern: ReferencePattern, description: String) : Leak
Content copied to clipboard
A leak found by HeapAnalyzer, where the only path to the leaking object required going through a reference matched by pattern, as provided to a LibraryLeakReferenceMatcher instance. This is a known leak in library code that is beyond your control.
Constructors
LibraryLeak
Link copied to clipboard
fun LibraryLeak(leakTraces: List<LeakTrace>, pattern: ReferencePattern, description: String)
Content copied to clipboard
Types
Functions
Properties
description
Link copied to clipboard
leakTraces
Link copied to clipboard
pattern
Link copied to clipboard
The pattern that matched one of the references in each of leakTraces, as provided to a LibraryLeakReferenceMatcher instance.
shortDescription
Link copied to clipboard
totalRetainedHeapByteSize
Link copied to clipboard
Sum of LeakTrace.retainedHeapByteSize for all elements in leakTraces. Null if the retained heap size was not computed.
totalRetainedObjectCount
Link copied to clipboard
Sum of LeakTrace.retainedObjectCount for all elements in leakTraces. Null if the retained heap size was not computed.