org.eclipse.mat.hprof
Interface IHprofParserHandler
- All Known Implementing Classes:
- HprofParserHandlerImpl
public interface IHprofParserHandler
IDENTIFIER_SIZE
static final String IDENTIFIER_SIZE
- See Also:
- Constant Field Values
CREATION_DATE
static final String CREATION_DATE
- See Also:
- Constant Field Values
VERSION
static final String VERSION
- See Also:
- Constant Field Values
REFERENCE_SIZE
static final String REFERENCE_SIZE
- See Also:
- Constant Field Values
beforePass1
void beforePass1(XSnapshotInfo snapshotInfo)
throws IOException
- Throws:
IOException
beforePass2
void beforePass2(IProgressListener monitor)
throws IOException,
SnapshotException
- Throws:
IOException
SnapshotException
fillIn
IIndexReader.IOne2LongIndex fillIn(IPreliminaryIndex index)
throws IOException
- Throws:
IOException
cancel
void cancel()
addProperty
void addProperty(String name,
String value)
throws IOException
- Throws:
IOException
addGCRoot
void addGCRoot(long id,
long referrer,
int rootType)
throws IOException
- Throws:
IOException
addClass
void addClass(ClassImpl clazz,
long filePosition)
throws IOException
- Throws:
IOException
addObject
void addObject(IHprofParserHandler.HeapObject object,
long filePosition)
throws IOException
- Throws:
IOException
reportInstance
void reportInstance(long id,
long filePosition)
reportRequiredObjectArray
void reportRequiredObjectArray(long arrayClassID)
reportRequiredPrimitiveArray
void reportRequiredPrimitiveArray(int arrayType)
getIdentifierSize
int getIdentifierSize()
getConstantPool
HashMapLongObject<String> getConstantPool()
lookupClass
IClass lookupClass(long classId)
lookupClassByName
IClass lookupClassByName(String name,
boolean failOnMultipleInstances)
lookupClassByIndex
IClass lookupClassByIndex(int objIndex)
resolveClassHierarchy
List<IClass> resolveClassHierarchy(long classId)
mapAddressToId
int mapAddressToId(long address)
getSnapshotInfo
XSnapshotInfo getSnapshotInfo()
getObjectArrayHeapSize
long getObjectArrayHeapSize(ClassImpl arrayType,
int size)
getPrimitiveArrayHeapSize
long getPrimitiveArrayHeapSize(byte elementType,
int size)