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 class
ExportHprof.RedactType
static class
ExportHprof.Remap
Remaps class names.
-
Field Summary
Fields Modifier and Type Field Description java.util.regex.Pattern
avoidPattern
boolean
chunked
boolean
classesAsInstances
Dump class fields as a instance dumpboolean
compress
java.io.File
mapFile
IHeapObjectArgument
objects
java.io.File
output
ExportHprof.RedactType
redact
long
segsize
java.util.regex.Pattern
skipPattern
ISnapshot
snapshot
boolean
undo
-
Constructor Summary
Constructors Constructor Description ExportHprof()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dumpThreadRoots(java.io.DataOutput os, IClass cls)
IResult
execute(IProgressListener listener)
The execute method is called after all arguments have been injected into the query instance.int
findID(int id, int[][] objid)
Find the stack frame in which an object is referenced.
-
-
-
Field Detail
-
snapshot
public ISnapshot snapshot
-
output
public java.io.File output
-
compress
public boolean compress
-
chunked
public boolean chunked
-
redact
public ExportHprof.RedactType redact
-
mapFile
public java.io.File mapFile
-
skipPattern
public java.util.regex.Pattern skipPattern
-
avoidPattern
public java.util.regex.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 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.
-
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(java.io.DataOutput os, IClass cls) throws SnapshotException, java.io.IOException
- Throws:
SnapshotException
java.io.IOException
-
-