org.eclipse.mat.hprof
Class HprofRandomAccessParser
java.lang.Object
org.eclipse.mat.hprof.HprofRandomAccessParser
public class HprofRandomAccessParser
- extends java.lang.Object
Constructor Summary |
HprofRandomAccessParser(java.io.File file,
org.eclipse.mat.hprof.AbstractParser.Version version,
int identifierSize)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LAZY_LOADING_LIMIT
public static final int LAZY_LOADING_LIMIT
- See Also:
- Constant Field Values
HprofRandomAccessParser
public HprofRandomAccessParser(java.io.File file,
org.eclipse.mat.hprof.AbstractParser.Version version,
int identifierSize)
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
read
public IObject read(int objectId,
long position,
ISnapshot dump)
throws java.io.IOException,
SnapshotException
- Throws:
java.io.IOException
SnapshotException
resolveClassHierarchy
public java.util.List<IClass> resolveClassHierarchy(ISnapshot snapshot,
IClass clazz)
throws SnapshotException
- Throws:
SnapshotException
readObjectArray
public long[] readObjectArray(org.eclipse.mat.hprof.ArrayDescription.Offline descriptor,
int offset,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
readPrimitiveArray
public byte[] readPrimitiveArray(org.eclipse.mat.hprof.ArrayDescription.Offline descriptor,
int offset,
int length)
throws java.io.IOException
- Throws:
java.io.IOException