public class HprofRandomAccessParser extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
LAZY_LOADING_LIMIT |
| Constructor and Description |
|---|
HprofRandomAccessParser(File file,
org.eclipse.mat.hprof.AbstractParser.Version version,
int identifierSize,
long len,
HprofPreferences.HprofStrictness strictnessPreference) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
IObject |
read(int objectId,
long position,
ISnapshot dump) |
long[] |
readObjectArray(org.eclipse.mat.hprof.ArrayDescription.Offline descriptor,
int offset,
int length) |
byte[] |
readPrimitiveArray(org.eclipse.mat.hprof.ArrayDescription.Offline descriptor,
int offset,
int length) |
static Object |
readValue(IPositionInputStream in,
ISnapshot snapshot,
int type,
int idSize) |
List<IClass> |
resolveClassHierarchy(ISnapshot snapshot,
IClass clazz) |
public static final int LAZY_LOADING_LIMIT
public HprofRandomAccessParser(File file, org.eclipse.mat.hprof.AbstractParser.Version version, int identifierSize, long len, HprofPreferences.HprofStrictness strictnessPreference) throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionpublic IObject read(int objectId, long position, ISnapshot dump) throws IOException, SnapshotException
IOExceptionSnapshotExceptionpublic List<IClass> resolveClassHierarchy(ISnapshot snapshot, IClass clazz) throws SnapshotException
SnapshotExceptionpublic long[] readObjectArray(org.eclipse.mat.hprof.ArrayDescription.Offline descriptor,
int offset,
int length)
throws IOException
IOExceptionpublic byte[] readPrimitiveArray(org.eclipse.mat.hprof.ArrayDescription.Offline descriptor,
int offset,
int length)
throws IOException
IOExceptionpublic static Object readValue(IPositionInputStream in, ISnapshot snapshot, int type, int idSize) throws IOException
IOException