Package org.eclipse.mat.inspections
Class ReferenceLeakQuery
- java.lang.Object
-
- org.eclipse.mat.inspections.ReferenceLeakQuery
-
- All Implemented Interfaces:
IQuery
public class ReferenceLeakQuery extends java.lang.Object implements IQuery
Extract information about objects referenced by java.lang.ref.Reference, e.g. weak and soft references, and Finalizer which are also strongly held by the reference, so causing a possible leak.
-
-
Field Summary
Fields Modifier and Type Field Description IQueryContextcontextdoublefactorintmaxobjsintmaxpathsintmaxresultsIHeapObjectArgumentobjectsjava.lang.Stringreferent_attributeISnapshotsnapshot
-
Constructor Summary
Constructors Constructor Description ReferenceLeakQuery()
-
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
-
snapshot
public ISnapshot snapshot
-
context
public IQueryContext context
-
objects
public IHeapObjectArgument objects
-
referent_attribute
public java.lang.String referent_attribute
-
maxresults
public int maxresults
-
maxpaths
public int maxpaths
-
maxobjs
public int maxobjs
-
factor
public double factor
-
-
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.
-
-