Package org.eclipse.mat.hprof
Class ExportHprof
java.lang.Object
org.eclipse.mat.hprof.ExportHprof
- All Implemented Interfaces:
IQuery
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
Remaps class names. -
Field Summary
Modifier and TypeFieldDescriptionboolean
boolean
Dump class fields as a instance dumpboolean
long
boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dumpThreadRoots
(DataOutput os, IClass cls) 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 Details
-
snapshot
-
output
-
compress
public boolean compress -
chunked
public boolean chunked -
redact
-
mapFile
-
skipPattern
-
avoidPattern
-
undo
public boolean undo -
objects
-
classesAsInstances
public boolean classesAsInstancesDump class fields as a instance dump -
segsize
public long segsize
-
-
Constructor Details
-
ExportHprof
public ExportHprof()
-
-
Method Details
-
execute
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
- the object IDobjid
- an array of frames and their object ids- Returns:
- the frame number (0-based)
-
dumpThreadRoots
- Throws:
SnapshotException
IOException
-