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
IOException
public void close() throws IOException
IOException
public IObject read(int objectId, long position, ISnapshot dump) throws IOException, SnapshotException
IOException
SnapshotException
public List<IClass> resolveClassHierarchy(ISnapshot snapshot, IClass clazz) throws SnapshotException
SnapshotException
public long[] readObjectArray(org.eclipse.mat.hprof.ArrayDescription.Offline descriptor, int offset, int length) throws IOException
IOException
public byte[] readPrimitiveArray(org.eclipse.mat.hprof.ArrayDescription.Offline descriptor, int offset, int length) throws IOException
IOException
public static Object readValue(IPositionInputStream in, ISnapshot snapshot, int type, int idSize) throws IOException
IOException