Class ExportHprof

  • All Implemented Interfaces:
    IQuery

    public class ExportHprof
    extends java.lang.Object
    implements IQuery
    • Field Detail

      • output

        public java.io.File output
      • compress

        public boolean compress
      • chunked

        public boolean chunked
      • mapFile

        public java.io.File mapFile
      • skipPattern

        public java.util.regex.Pattern skipPattern
      • avoidPattern

        public java.util.regex.Pattern avoidPattern
      • undo

        public boolean undo
      • classesAsInstances

        public boolean classesAsInstances
        Dump class fields as a instance dump
      • segsize

        public long segsize
    • Constructor Detail

      • ExportHprof

        public ExportHprof()
    • Method Detail

      • execute

        public IResult execute​(IProgressListener listener)
                        throws java.lang.Exception
        Description copied from interface: IQuery
        The execute method is called after all arguments have been injected into the query instance. Typical results are TextResult, CompositeResult, SectionSpec etc.
        Specified by:
        execute in interface IQuery
        Parameters:
        listener - Monitor to report progress and check for cancellation.
        Returns:
        The result of the query.
        Throws:
        java.lang.Exception - if something went wrong running the query
      • findID

        public int findID​(int id,
                          int[][] objid)
        Find the stack frame in which an object is referenced. Remove it from the list.
        Parameters:
        id -
        objid -
        Returns:
        the frame number (0-based)