- java.lang.Object
-
- com.ibm.dtfj.phd.parser.Base
-
- com.ibm.dtfj.phd.parser.HeapdumpWriter
-
public class HeapdumpWriter extends Base
-
-
Field Summary
Fields Modifier and Type Field Description static int
CLASS_RECORD
static int
END_OF_DUMP
static int
END_OF_HEADER
static int
FULL_VERSION
static int
HASHCODE_RANDOMS
static int
LONG_OBJECT_RECORD
static int
NEW_OBJECT_ARRAY_RECORD
static int
OBJECT_ARRAY_RECORD
static int
PRIMITIVE_ARRAY_RECORD
static int
START_OF_DUMP
static int
START_OF_HEADER
int
totalObjects
int
totalRefs
static int
TOTALS
int
version
-
Constructor Summary
Constructors Constructor Description HeapdumpWriter(String filename)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
classDump(int address, int superAddress, String name, int instanceSize, int[] refs)
void
close()
void
objectArrayDump(int address, int classAddress, int[] refs)
void
objectDump(int address, int classAddress, int[] refs)
void
primitiveArrayDump(int address, int type, int length)
-
-
-
Field Detail
-
totalObjects
public int totalObjects
-
totalRefs
public int totalRefs
-
version
public int version
-
START_OF_HEADER
public static final int START_OF_HEADER
- See Also:
- Constant Field Values
-
START_OF_DUMP
public static final int START_OF_DUMP
- See Also:
- Constant Field Values
-
END_OF_DUMP
public static final int END_OF_DUMP
- See Also:
- Constant Field Values
-
LONG_OBJECT_RECORD
public static final int LONG_OBJECT_RECORD
- See Also:
- Constant Field Values
-
OBJECT_ARRAY_RECORD
public static final int OBJECT_ARRAY_RECORD
- See Also:
- Constant Field Values
-
CLASS_RECORD
public static final int CLASS_RECORD
- See Also:
- Constant Field Values
-
PRIMITIVE_ARRAY_RECORD
public static final int PRIMITIVE_ARRAY_RECORD
- See Also:
- Constant Field Values
-
NEW_OBJECT_ARRAY_RECORD
public static final int NEW_OBJECT_ARRAY_RECORD
- See Also:
- Constant Field Values
-
TOTALS
public static final int TOTALS
- See Also:
- Constant Field Values
-
END_OF_HEADER
public static final int END_OF_HEADER
- See Also:
- Constant Field Values
-
HASHCODE_RANDOMS
public static final int HASHCODE_RANDOMS
- See Also:
- Constant Field Values
-
FULL_VERSION
public static final int FULL_VERSION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HeapdumpWriter
public HeapdumpWriter(String filename)
-
-
Method Detail
-
close
public void close()
-
objectDump
public void objectDump(int address, int classAddress, int[] refs)
-
classDump
public void classDump(int address, int superAddress, String name, int instanceSize, int[] refs)
-
objectArrayDump
public void objectArrayDump(int address, int classAddress, int[] refs)
-
primitiveArrayDump
public void primitiveArrayDump(int address, int type, int length)
-
-