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 ISnapshot
baseline
java.lang.String[]
extraReferences
java.io.File
extraReferencesListFile
java.util.regex.Pattern
mask
java.lang.String
options
-
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 IResult
execute(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:IQuery
The execute method is called after all arguments have been injected into the query instance. Typical results areTextResult
,CompositeResult
,SectionSpec
etc.- Specified by:
execute
in interfaceIQuery
- Overrides:
execute
in 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
-
-