Library Leak Reference Matcher
data class LibraryLeakReferenceMatcher( val pattern: ReferencePattern, val description: String = "", val patternApplies: (HeapGraph) -> Boolean = { true }) : ReferenceMatcher
Content copied to clipboard
LibraryLeakReferenceMatcher should be used to match references in library code that are known to create leaks and are beyond your control. The shortest path finder will only go through matching references after it has exhausted references that don't match, prioritizing finding an application leak over a known library leak. Library leaks will be reported as LibraryLeak instead of ApplicationLeak.
Constructors
Link copied to clipboard
fun LibraryLeakReferenceMatcher( pattern: ReferencePattern, description: String = "", patternApplies: (HeapGraph) -> Boolean = { true })
Content copied to clipboard