//leakcanary-repo/shark/VirtualizingMatchingReferenceReaderFactory
VirtualizingMatchingReferenceReaderFactory¶
[jvm]\ class VirtualizingMatchingReferenceReaderFactory(referenceMatchers: List<ReferenceMatcher>, virtualRefReadersFactory: ChainingInstanceReferenceReader.VirtualInstanceReferenceReader.ChainFactory) : ReferenceReader.Factory<HeapObject>
Creates ReferenceReader instances that will follow references from all HeapObjects, applying matching rules provided by referenceMatchers, creating additional virtual instance reference based on the list of VirtualInstanceReferenceReader created by virtualRefReadersFactory.
Constructors¶
VirtualizingMatchingReferenceReaderFactory | [jvm] constructor(referenceMatchers: List<ReferenceMatcher>, virtualRefReadersFactory: ChainingInstanceReferenceReader.VirtualInstanceReferenceReader.ChainFactory) |
Functions¶
Name | Summary |
---|---|
createFor | [jvm] open override fun createFor(heapGraph: HeapGraph): ReferenceReader<HeapObject> |