IBM User Guide for Java V7 on Windows > Troubleshooting and support > Using diagnostic tools > Using Heapdump > Portable Heap Dump (PHD) file format
PHD class records
The PHD class record encodes a class object.
Class record
The format of a class record is:
- The 1 byte tag, containing the value 6.
- A "byte" containing flags, with these bits in descending order:
- 2 bits to indicate whether the gap is a "byte", "short", "int" or "long".
- 2 bits indicating the size of each static reference. For more information, see the description in the short record format.
- 1 bit indicating if the object was hashed and moved. If this bit is set, the record includes the hashcode.
- A "byte", "short", "int" or "long" containing the gap between the address of this class and the address of the preceding object. For more information, see the description in the short record format.
- An "int" containing the instance size.
- If all objects are hashed, a "short" containing the hashcode. Otherwise, an optional "int" containing the hashcode if the hashed and moved bit is set in the record flag byte.
- A "word" containing the address of the superclass.
- A UTF string containing the name of this class.
- An "int" containing the number of static references.
- The array of static references. For more information, see the description in the short record format.
Parent: Portable Heap Dump (PHD) file format
Error 404 - Not Found Error 404 - Not Found
The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.