Package org.eclipse.mat.hprof
Interface IHprofParserHandler
- All Known Implementing Classes:
HprofParserHandlerImpl
public interface IHprofParserHandler
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddGCRoot(long id, long referrer, int rootType) voidvoidaddProperty(String name, String value) voidbeforePass1(XSnapshotInfo snapshotInfo) voidbeforePass2(IProgressListener monitor) voidcancel()fillIn(IPreliminaryIndex index, IProgressListener listener) intlonggetObjectArrayHeapSize(ClassImpl arrayType, int size) longgetPrimitiveArrayHeapSize(byte elementType, int size) lookupClass(long classId) lookupClassByIndex(int objIndex) lookupClassByName(String name, boolean failOnMultipleInstances) lookupPrimitiveArrayClassByType(byte elementType) intmapAddressToId(long address) voidreportInstanceOfObjectArray(long id, long filePosition, long arrayClassID) voidreportInstanceOfPrimitiveArray(long id, long filePosition, int arrayType) voidreportInstanceWithClass(long id, long filePosition, long classID, int size) resolveClassHierarchy(long classId)
-
Field Details
-
IDENTIFIER_SIZE
- See Also:
-
CREATION_DATE
- See Also:
-
VERSION
- See Also:
-
REFERENCE_SIZE
- See Also:
-
STREAM_LENGTH
- See Also:
-
HEAP_POSITION
- See Also:
-
-
Method Details
-
beforePass1
- Throws:
IOException
-
beforePass2
- Throws:
IOExceptionSnapshotException
-
fillIn
IIndexReader.IOne2LongIndex fillIn(IPreliminaryIndex index, IProgressListener listener) throws IOException - Throws:
IOException
-
cancel
void cancel() -
addProperty
- Throws:
IOException
-
addGCRoot
- Throws:
IOException
-
addClass
- Throws:
IOException
-
addObject
- Throws:
IOException
-
reportInstanceWithClass
void reportInstanceWithClass(long id, long filePosition, long classID, int size) -
reportInstanceOfObjectArray
void reportInstanceOfObjectArray(long id, long filePosition, long arrayClassID) -
reportInstanceOfPrimitiveArray
void reportInstanceOfPrimitiveArray(long id, long filePosition, int arrayType) -
getIdentifierSize
int getIdentifierSize() -
lookupClass
-
lookupClassByName
-
lookupClassByIndex
-
lookupPrimitiveArrayClassByType
-
resolveClassHierarchy
-
mapAddressToId
int mapAddressToId(long address) -
getSnapshotInfo
XSnapshotInfo getSnapshotInfo() -
getObjectArrayHeapSize
-
getPrimitiveArrayHeapSize
long getPrimitiveArrayHeapSize(byte elementType, int size)
-