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,
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) |
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, 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
IOException