Package org.eclipse.mat.hprof
Class ExportHprof
- java.lang.Object
-
- org.eclipse.mat.hprof.ExportHprof
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExportHprof.RedactTypestatic classExportHprof.RemapRemaps class names.
-
Field Summary
Fields Modifier and Type Field Description PatternavoidPatternbooleanchunkedbooleanclassesAsInstancesDump class fields as a instance dumpbooleancompressFilemapFileIHeapObjectArgumentobjectsFileoutputExportHprof.RedactTyperedactlongsegsizePatternskipPatternISnapshotsnapshotbooleanundo
-
Constructor Summary
Constructors Constructor Description ExportHprof()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddumpThreadRoots(DataOutput os, IClass cls)IResultexecute(IProgressListener listener)The execute method is called after all arguments have been injected into the query instance.intfindID(int id, int[][] objid)Find the stack frame in which an object is referenced.
-
-
-
Field Detail
-
snapshot
public ISnapshot snapshot
-
output
public File output
-
compress
public boolean compress
-
chunked
public boolean chunked
-
redact
public ExportHprof.RedactType redact
-
mapFile
public File mapFile
-
skipPattern
public Pattern skipPattern
-
avoidPattern
public Pattern avoidPattern
-
undo
public boolean undo
-
objects
public IHeapObjectArgument objects
-
classesAsInstances
public boolean classesAsInstances
Dump class fields as a instance dump
-
segsize
public long segsize
-
-
Method Detail
-
execute
public IResult execute(IProgressListener listener) throws 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.
-
findID
public int findID(int id, int[][] objid)Find the stack frame in which an object is referenced. Remove it from the list.- Parameters:
id-objid-- Returns:
- the frame number (0-based)
-
dumpThreadRoots
public void dumpThreadRoots(DataOutput os, IClass cls) throws SnapshotException, IOException
- Throws:
SnapshotExceptionIOException
-
-