Package leakcanary
Types
Link copied to clipboard
Dumps the Android heap using Debug.dumpHprofData.
Link copied to clipboard
Starts heap analysis on a background HandlerThread when receiving a HeapDump event.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class LazyForwardingEventListener(lazyEventListener: () -> EventListener) : EventListener
Content copied to clipboard
Forwards events to the EventListener provided by lazyEventListener which is evaluated lazily, when the first comes in.
Link copied to clipboard
The entry point API for LeakCanary. LeakCanary builds on top of AppWatcher. AppWatcher notifies LeakCanary of retained instances, which in turns dumps the heap, analyses it and publishes the results.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
When receiving a HeapDump event, starts a WorkManager worker that performs heap analysis in a dedicated :leakcanary process
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
When receiving a HeapDump event, starts a WorkManager worker that performs heap analysis.