Package org.eclipse.mat.hprof
Class HprofRandomAccessParser
java.lang.Object
org.eclipse.mat.hprof.HprofRandomAccessParser
-
Field Summary
-
Constructor Summary
ConstructorDescriptionHprofRandomAccessParser
(File file, String prefix, Version version, int identifierSize, long len, HprofPreferences.HprofStrictness strictnessPreference) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
read
(int objectId, long position, ISnapshot dump, IIndexReader.IOne2LongIndex o2hprof) 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) resolveClassHierarchy
(ISnapshot snapshot, IClass clazz)
-
Field Details
-
LAZY_LOADING_LIMIT
public static final int LAZY_LOADING_LIMIT- See Also:
-
-
Constructor Details
-
HprofRandomAccessParser
public HprofRandomAccessParser(File file, String prefix, Version version, int identifierSize, long len, HprofPreferences.HprofStrictness strictnessPreference) throws IOException - Throws:
IOException
-
-
Method Details
-
close
- Throws:
IOException
-
read
public IObject read(int objectId, long position, ISnapshot dump, IIndexReader.IOne2LongIndex o2hprof) throws IOException, SnapshotException - Throws:
IOException
SnapshotException
-
resolveClassHierarchy
public 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 IOException - Throws:
IOException
-
readPrimitiveArray
public byte[] readPrimitiveArray(org.eclipse.mat.hprof.ArrayDescription.Offline descriptor, int offset, int length) throws IOException - Throws:
IOException
-
readValue
public static Object readValue(IPositionInputStream in, ISnapshot snapshot, int type, int idSize) throws IOException - Throws:
IOException
-