Class IBMJavaDumpProvider

All Implemented Interfaces:
IHeapDumpProvider

public class IBMJavaDumpProvider extends IBMDumpProvider
Helper dump provider - the IBMDumpProvider delegates to this to do the work for java core dumps.
  • Constructor Details

    • IBMJavaDumpProvider

      public IBMJavaDumpProvider()
  • Method Details

    • files

      public int files()
    • jextract

      public File jextract(File preferredDump, boolean compress, List<File> dumps, File udir, File javahome, IProgressListener listener) throws IOException, InterruptedException, SnapshotException
      The target JVM will have generated a dump of the form heapdump.yyyyMMdd.HHmmss.pid.seq.phd javacore.yyyyMMdd.HHmmss.pid.seq.txt or heapdump<pid>.<timestamp>.phd javacore<pid>.<timestamp>.txt Options: 1.leave dumps where are 2.move dumps and rename them based on the target targetfile.xyz this doesn't work when the user specifies the wrong name 3.move dumps, rename metafiles to match dump file Only move dumps with heapdump or javacore in the name If the preferred name ends with .gz then compress the dump file.
      Returns:
      the resultant file
      Throws:
      IOException
      InterruptedException
      SnapshotException