Module openj9.dtfjview
Class PortableHeapDumpFormatter
- java.lang.Object
-
- com.ibm.jvm.dtfjview.heapdump.HeapDumpFormatter
-
- com.ibm.jvm.dtfjview.heapdump.portable.PortableHeapDumpFormatter
-
public class PortableHeapDumpFormatter extends HeapDumpFormatter
A formatter for Portable heap dumps (PHDs). Format documented here: http://w3.hursley.ibm.com/~dgriff/newphd.html
-
-
Field Summary
Fields Modifier and Type Field Description static intALL_OBJECTS_HASHED_FLAGstatic byteCLASS_RECORD_TAGstatic byteEND_OF_DUMP_TAGstatic byteEND_OF_HEADER_TAGstatic byteFULL_VERSION_TAGstatic byteHASHCODE_RANDOM_TAGstatic intIS_64_BIT_HEADER_FLAGstatic intIS_J9_HEADER_FLAGstatic byteLONG_OBJECT_RECORD_TAGstatic byteLONG_PRIMITIVE_ARRAY_RECORD_TAGstatic StringMAGIC_STRINGstatic byteMEDIUM_OBJECT_RECORD_TAGstatic byteOBJECT_ARRAY_RECORD_TAGstatic intPHD_VERSION_NUMBERstatic bytePRIMITIVE_ARRAY_RECORD_TAGstatic byteSHORT_OBJECT_RECORD_TAGstatic byteSTART_OF_DUMP_TAGstatic byteSTART_OF_HEADER_TAG-
Fields declared in class com.ibm.jvm.dtfjview.heapdump.HeapDumpFormatter
_is64Bit, _version
-
-
Constructor Summary
Constructors Constructor Description PortableHeapDumpFormatter(DataOutputStream output, String version, boolean is64Bit, boolean is32BitHash)
-
-
-
Field Detail
-
MAGIC_STRING
public static final String MAGIC_STRING
- See Also:
- Constant Field Values
-
PHD_VERSION_NUMBER
public static final int PHD_VERSION_NUMBER
- See Also:
- Constant Field Values
-
START_OF_HEADER_TAG
public static final byte START_OF_HEADER_TAG
- See Also:
- Constant Field Values
-
END_OF_HEADER_TAG
public static final byte END_OF_HEADER_TAG
- See Also:
- Constant Field Values
-
START_OF_DUMP_TAG
public static final byte START_OF_DUMP_TAG
- See Also:
- Constant Field Values
-
END_OF_DUMP_TAG
public static final byte END_OF_DUMP_TAG
- See Also:
- Constant Field Values
-
HASHCODE_RANDOM_TAG
public static final byte HASHCODE_RANDOM_TAG
- See Also:
- Constant Field Values
-
FULL_VERSION_TAG
public static final byte FULL_VERSION_TAG
- See Also:
- Constant Field Values
-
IS_64_BIT_HEADER_FLAG
public static final int IS_64_BIT_HEADER_FLAG
- See Also:
- Constant Field Values
-
ALL_OBJECTS_HASHED_FLAG
public static final int ALL_OBJECTS_HASHED_FLAG
- See Also:
- Constant Field Values
-
IS_J9_HEADER_FLAG
public static final int IS_J9_HEADER_FLAG
- See Also:
- Constant Field Values
-
CLASS_RECORD_TAG
public static final byte CLASS_RECORD_TAG
- See Also:
- Constant Field Values
-
SHORT_OBJECT_RECORD_TAG
public static final byte SHORT_OBJECT_RECORD_TAG
- See Also:
- Constant Field Values
-
MEDIUM_OBJECT_RECORD_TAG
public static final byte MEDIUM_OBJECT_RECORD_TAG
- See Also:
- Constant Field Values
-
LONG_OBJECT_RECORD_TAG
public static final byte LONG_OBJECT_RECORD_TAG
- See Also:
- Constant Field Values
-
OBJECT_ARRAY_RECORD_TAG
public static final byte OBJECT_ARRAY_RECORD_TAG
- See Also:
- Constant Field Values
-
PRIMITIVE_ARRAY_RECORD_TAG
public static final byte PRIMITIVE_ARRAY_RECORD_TAG
- See Also:
- Constant Field Values
-
LONG_PRIMITIVE_ARRAY_RECORD_TAG
public static final byte LONG_PRIMITIVE_ARRAY_RECORD_TAG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PortableHeapDumpFormatter
public PortableHeapDumpFormatter(DataOutputStream output, String version, boolean is64Bit, boolean is32BitHash) throws IOException
- Throws:
IOException
-
-