Package org.eclipse.mat.hprof
Class HprofIndexBuilder
- java.lang.Object
-
- org.eclipse.mat.hprof.HprofIndexBuilder
-
- All Implemented Interfaces:
IIndexBuilder
public class HprofIndexBuilder extends Object implements IIndexBuilder
-
-
Constructor Summary
Constructors Constructor Description HprofIndexBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()called in case of error to delete any files / close any file handlesvoidclean(int[] purgedMapping, IProgressListener listener)Memory Analyzer has discard unreachable objects, so the parser may need to known the discarded objectsvoidfill(IPreliminaryIndex preliminary, IProgressListener listener)pass1 and pass2 parsingvoidinit(File file, String prefix)initialize with file and prefix (needed for naming conventions)
-
-
-
Method Detail
-
init
public void init(File file, String prefix)
Description copied from interface:IIndexBuilderinitialize with file and prefix (needed for naming conventions)- Specified by:
initin interfaceIIndexBuilder- Parameters:
file- the dump fileprefix- used to build index files
-
fill
public void fill(IPreliminaryIndex preliminary, IProgressListener listener) throws SnapshotException, IOException
Description copied from interface:IIndexBuilderpass1 and pass2 parsing- Specified by:
fillin interfaceIIndexBuilderlistener- for progress and error reporting- Throws:
SnapshotExceptionIOException
-
clean
public void clean(int[] purgedMapping, IProgressListener listener) throws IOExceptionDescription copied from interface:IIndexBuilderMemory Analyzer has discard unreachable objects, so the parser may need to known the discarded objects- Specified by:
cleanin interfaceIIndexBuilder- Parameters:
purgedMapping- mapping from old id to new id, -1 indicates object has been discardedlistener- for progress and error reporting- Throws:
IOException
-
cancel
public void cancel()
Description copied from interface:IIndexBuildercalled in case of error to delete any files / close any file handles- Specified by:
cancelin interfaceIIndexBuilder
-
-