Skip navigation links
A C E F H I K L N O R T V 

A

allocatingThread(Instance) - Static method in class com.squareup.haha.perflib.HahaSpy
 
analysisDurationMs - Variable in class com.squareup.leakcanary.AnalysisResult
Total time spent analyzing the heap.
AnalysisResult - Class in com.squareup.leakcanary
 
AnalyzerProgressListener - Interface in com.squareup.leakcanary
 
AnalyzerProgressListener.Step - Enum in com.squareup.leakcanary
 

C

checkForLeak(File, String) - Method in class com.squareup.leakcanary.HeapAnalyzer
checkForLeak(File, String, boolean) - Method in class com.squareup.leakcanary.HeapAnalyzer
Searches the heap dump for a KeyedWeakReference instance with the corresponding key, and then computes the shortest strong reference path from that instance to the GC roots.
className - Variable in class com.squareup.leakcanary.AnalysisResult
Class name of the object that leaked if AnalysisResult.leakFound is true, null otherwise.
className - Variable in class com.squareup.leakcanary.TrackedReference
Class of the tracked instance.
com.squareup.haha.perflib - package com.squareup.haha.perflib
 
com.squareup.leakcanary - package com.squareup.leakcanary
 

E

elements - Variable in class com.squareup.leakcanary.LeakTrace
 
excludedLeak - Variable in class com.squareup.leakcanary.AnalysisResult
True if AnalysisResult.leakFound is true and the only path to the leaking reference is through excluded references.
expectedReachability - Variable in class com.squareup.leakcanary.LeakTrace
 

F

failure - Variable in class com.squareup.leakcanary.AnalysisResult
Null unless the analysis failed.
failure(Throwable, long) - Static method in class com.squareup.leakcanary.AnalysisResult
 
fields - Variable in class com.squareup.leakcanary.TrackedReference
List of all fields (member and static) for that instance.
findTrackedReferences(File) - Method in class com.squareup.leakcanary.HeapAnalyzer
 

H

HahaHelper - Class in com.squareup.leakcanary
 
HahaSpy - Class in com.squareup.haha.perflib
 
HeapAnalyzer - Class in com.squareup.leakcanary
Analyzes heap dumps generated by a RefWatcher to verify if suspected leaks are real.
HeapAnalyzer(ExcludedRefs) - Constructor for class com.squareup.leakcanary.HeapAnalyzer
HeapAnalyzer(ExcludedRefs, AnalyzerProgressListener, List<Class<? extends Reachability.Inspector>>) - Constructor for class com.squareup.leakcanary.HeapAnalyzer
 

I

isPrimitiveOrWrapperArray(Object) - Static method in class com.squareup.leakcanary.HahaHelper
 
isPrimitiveWrapper(Object) - Static method in class com.squareup.leakcanary.HahaHelper
 

K

key - Variable in class com.squareup.leakcanary.TrackedReference
Corresponds to KeyedWeakReference.key.

L

leakDetected(boolean, String, LeakTrace, long, long) - Static method in class com.squareup.leakcanary.AnalysisResult
 
leakFound - Variable in class com.squareup.leakcanary.AnalysisResult
True if a leak was found in the heap dump.
leakTrace - Variable in class com.squareup.leakcanary.AnalysisResult
Shortest path to GC roots for the leaking object if AnalysisResult.leakFound is true, null otherwise.
LeakTrace - Class in com.squareup.leakcanary
A chain of references that constitute the shortest strong reference path from a leaking instance to the GC roots.
leakTraceAsFakeException() - Method in class com.squareup.leakcanary.AnalysisResult
Creates a new RuntimeException with a fake stack trace that maps the leak trace.

N

name - Variable in class com.squareup.leakcanary.TrackedReference
Corresponds to KeyedWeakReference.name.
noLeak(long) - Static method in class com.squareup.leakcanary.AnalysisResult
 
NONE - Static variable in interface com.squareup.leakcanary.AnalyzerProgressListener
 

O

onProgressUpdate(AnalyzerProgressListener.Step) - Method in interface com.squareup.leakcanary.AnalyzerProgressListener
 

R

RETAINED_HEAP_SKIPPED - Static variable in class com.squareup.leakcanary.AnalysisResult
 
retainedHeapSize - Variable in class com.squareup.leakcanary.AnalysisResult
The number of bytes which would be freed if all references to the leaking object were released.

T

toDetailedString() - Method in class com.squareup.leakcanary.LeakTrace
 
toString() - Method in class com.squareup.leakcanary.LeakTrace
 
TrackedReference - Class in com.squareup.leakcanary
An instance tracked by a KeyedWeakReference that hadn't been cleared when the heap was dumped.
TrackedReference(String, String, String, List<LeakReference>) - Constructor for class com.squareup.leakcanary.TrackedReference
 

V

valueOf(String) - Static method in enum com.squareup.leakcanary.AnalyzerProgressListener.Step
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.squareup.leakcanary.AnalyzerProgressListener.Step
Returns an array containing the constants of this enum type, in the order they are declared.
A C E F H I K L N O R T V 
Skip navigation links