Package org.eclipse.mat.inspections
Class LeakHunterQuery2
- java.lang.Object
-
- org.eclipse.mat.inspections.LeakHunterQuery
-
- org.eclipse.mat.inspections.LeakHunterQuery2
-
- All Implemented Interfaces:
IQuery
public class LeakHunterQuery2 extends LeakHunterQuery
Looks for leaks based on a delta in retained sizes of the dominator tree from two snapshots.
-
-
Field Summary
Fields Modifier and Type Field Description ISnapshotbaselinejava.lang.String[]extraReferencesjava.io.FileextraReferencesListFilejava.util.regex.Patternmaskjava.lang.Stringoptions-
Fields inherited from class org.eclipse.mat.inspections.LeakHunterQuery
max_paths, skipPattern, snapshot, threshold_percent
-
-
Constructor Summary
Constructors Constructor Description LeakHunterQuery2()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IResultexecute(IProgressListener listener)The execute method is called after all arguments have been injected into the query instance.
-
-
-
Field Detail
-
baseline
public ISnapshot baseline
-
options
public java.lang.String options
-
mask
public java.util.regex.Pattern mask
-
extraReferences
public java.lang.String[] extraReferences
-
extraReferencesListFile
public java.io.File extraReferencesListFile
-
-
Method Detail
-
execute
public IResult execute(IProgressListener listener) throws java.lang.Exception
Description copied from interface:IQueryThe execute method is called after all arguments have been injected into the query instance. Typical results areTextResult,CompositeResult,SectionSpecetc.- Specified by:
executein interfaceIQuery- Overrides:
executein classLeakHunterQuery- Parameters:
listener- Monitor to report progress and check for cancellation.- Returns:
- The result of the query.
- Throws:
java.lang.Exception- if something went wrong running the query
-
-