public interface IHprofParserHandler
Modifier and Type | Interface and Description |
---|---|
static class |
IHprofParserHandler.HeapObject |
Modifier and Type | Field and Description |
---|---|
static String |
CREATION_DATE |
static String |
IDENTIFIER_SIZE |
static String |
REFERENCE_SIZE |
static String |
STREAM_LENGTH |
static String |
VERSION |
Modifier and Type | Method and Description |
---|---|
void |
addClass(ClassImpl clazz,
long filePosition,
int idSize,
int instsize) |
void |
addGCRoot(long id,
long referrer,
int rootType) |
void |
addObject(IHprofParserHandler.HeapObject object) |
void |
addProperty(String name,
String value) |
void |
beforePass1(XSnapshotInfo snapshotInfo) |
void |
beforePass2(IProgressListener monitor) |
void |
cancel() |
IIndexReader.IOne2LongIndex |
fillIn(IPreliminaryIndex index) |
int |
getIdentifierSize() |
long |
getObjectArrayHeapSize(ClassImpl arrayType,
int size) |
long |
getPrimitiveArrayHeapSize(byte elementType,
int size) |
XSnapshotInfo |
getSnapshotInfo() |
IClass |
lookupClass(long classId) |
IClass |
lookupClassByIndex(int objIndex) |
IClass |
lookupClassByName(String name,
boolean failOnMultipleInstances) |
IClass |
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) |
List<IClass> |
resolveClassHierarchy(long classId) |
static final String IDENTIFIER_SIZE
static final String CREATION_DATE
static final String VERSION
static final String REFERENCE_SIZE
static final String STREAM_LENGTH
void beforePass1(XSnapshotInfo snapshotInfo) throws IOException
IOException
void beforePass2(IProgressListener monitor) throws IOException, SnapshotException
IOException
SnapshotException
IIndexReader.IOne2LongIndex fillIn(IPreliminaryIndex index) throws IOException
IOException
void cancel()
void addProperty(String name, String value) throws IOException
IOException
void addGCRoot(long id, long referrer, int rootType) throws IOException
IOException
void addClass(ClassImpl clazz, long filePosition, int idSize, int instsize) throws IOException
IOException
void addObject(IHprofParserHandler.HeapObject object) throws IOException
IOException
void reportInstanceWithClass(long id, long filePosition, long classID, int size)
void reportInstanceOfObjectArray(long id, long filePosition, long arrayClassID)
void reportInstanceOfPrimitiveArray(long id, long filePosition, int arrayType)
int getIdentifierSize()
IClass lookupClass(long classId)
IClass lookupClassByIndex(int objIndex)
IClass lookupPrimitiveArrayClassByType(byte elementType)
int mapAddressToId(long address)
XSnapshotInfo getSnapshotInfo()
long getObjectArrayHeapSize(ClassImpl arrayType, int size)
long getPrimitiveArrayHeapSize(byte elementType, int size)