Class HprofIndexBuilder

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancel()
      called in case of error to delete any files / close any file handles
      void clean​(int[] purgedMapping, IProgressListener listener)
      Memory Analyzer has discarded unreachable objects, so the parser may need to know the discarded objects.
      void fill​(IPreliminaryIndex preliminary, IProgressListener listener)
      Pass1 and pass2 parsing.
      void init​(java.io.File file, java.lang.String prefix)
      Initialize with file and prefix (needed for naming conventions).
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HprofIndexBuilder

        public HprofIndexBuilder()
    • Method Detail

      • init

        public void init​(java.io.File file,
                         java.lang.String prefix)
        Description copied from interface: IIndexBuilder
        Initialize with file and prefix (needed for naming conventions).
        Specified by:
        init in interface IIndexBuilder
        Parameters:
        file - the dump file
        prefix - used to build index files
      • clean

        public void clean​(int[] purgedMapping,
                          IProgressListener listener)
                   throws java.io.IOException
        Description copied from interface: IIndexBuilder
        Memory Analyzer has discarded unreachable objects, so the parser may need to know the discarded objects.
        Specified by:
        clean in interface IIndexBuilder
        Parameters:
        purgedMapping - mapping from old id to new id, -1 indicates object has been discarded
        listener - for progress and error reporting
        Throws:
        java.io.IOException - for example, problem writing a new index
      • cancel

        public void cancel()
        Description copied from interface: IIndexBuilder
        called in case of error to delete any files / close any file handles
        Specified by:
        cancel in interface IIndexBuilder