public class HprofParserHandlerImpl extends Object implements IHprofParserHandler
IHprofParserHandler.HeapObjectCREATION_DATE, IDENTIFIER_SIZE, REFERENCE_SIZE, VERSION| Constructor and Description |
|---|
HprofParserHandlerImpl() |
public void beforePass1(XSnapshotInfo snapshotInfo) throws IOException
beforePass1 in interface IHprofParserHandlerIOExceptionpublic void beforePass2(IProgressListener monitor) throws IOException, SnapshotException
beforePass2 in interface IHprofParserHandlerIOExceptionSnapshotExceptionpublic IIndexReader.IOne2LongIndex fillIn(IPreliminaryIndex index) throws IOException
fillIn in interface IHprofParserHandlerIOExceptionpublic void cancel()
cancel in interface IHprofParserHandlerpublic void addProperty(String name, String value) throws IOException
addProperty in interface IHprofParserHandlerIOExceptionpublic void addGCRoot(long id,
long referrer,
int rootType)
addGCRoot in interface IHprofParserHandlerpublic void addClass(ClassImpl clazz, long filePosition) throws IOException
addClass in interface IHprofParserHandlerIOExceptionpublic void addObject(IHprofParserHandler.HeapObject object, long filePosition) throws IOException
addObject in interface IHprofParserHandlerIOExceptionpublic void reportInstance(long id,
long filePosition)
reportInstance in interface IHprofParserHandlerpublic void reportRequiredObjectArray(long arrayClassID)
reportRequiredObjectArray in interface IHprofParserHandlerpublic void reportRequiredPrimitiveArray(int arrayType)
reportRequiredPrimitiveArray in interface IHprofParserHandlerpublic void reportRequiredClass(long classID,
int size)
reportRequiredClass in interface IHprofParserHandlerpublic int getIdentifierSize()
getIdentifierSize in interface IHprofParserHandlerpublic HashMapLongObject<String> getConstantPool()
getConstantPool in interface IHprofParserHandlerpublic ClassImpl lookupClass(long classId)
lookupClass in interface IHprofParserHandlerpublic IClass lookupClassByName(String name, boolean failOnMultipleInstances)
lookupClassByName in interface IHprofParserHandlerpublic IClass lookupClassByIndex(int objIndex)
lookupClassByIndex in interface IHprofParserHandlerpublic List<IClass> resolveClassHierarchy(long classId)
resolveClassHierarchy in interface IHprofParserHandlerpublic int mapAddressToId(long address)
mapAddressToId in interface IHprofParserHandlerpublic XSnapshotInfo getSnapshotInfo()
getSnapshotInfo in interface IHprofParserHandlerpublic long getObjectArrayHeapSize(ClassImpl arrayType, int size)
getObjectArrayHeapSize in interface IHprofParserHandlerpublic long getPrimitiveArrayHeapSize(byte elementType,
int size)
getPrimitiveArrayHeapSize in interface IHprofParserHandler