Package org.eclipse.mat.hprof
Interface IHprofParserHandler
- All Known Implementing Classes:
HprofParserHandlerImpl
public interface IHprofParserHandler
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addGCRoot
(long id, long referrer, int rootType) void
void
addProperty
(String name, String value) void
beforePass1
(XSnapshotInfo snapshotInfo) void
beforePass2
(IProgressListener monitor) void
cancel()
fillIn
(IPreliminaryIndex index, IProgressListener listener) int
long
getObjectArrayHeapSize
(ClassImpl arrayType, int size) long
getPrimitiveArrayHeapSize
(byte elementType, int size) lookupClass
(long classId) lookupClassByIndex
(int objIndex) lookupClassByName
(String name, boolean failOnMultipleInstances) lookupPrimitiveArrayClassByType
(byte elementType) int
mapAddressToId
(long address) void
reportInstanceOfObjectArray
(long id, long filePosition, long arrayClassID) void
reportInstanceOfPrimitiveArray
(long id, long filePosition, int arrayType) void
reportInstanceWithClass
(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:
IOException
SnapshotException
-
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)
-