Module openj9.dtfj

Class SnapFormatCommand

All Implemented Interfaces:
ICommand

public class SnapFormatCommand extends SnapBaseCommand
  • Constructor Details

    • SnapFormatCommand

      public SnapFormatCommand()
  • Method Details

    • run

      public void run(String command, String[] args, Context context, PrintStream out) throws DDRInteractiveCommandException
      Options should be: -f outputFile -t vmthread -d .dat file path
      Parameters:
      command - Command string e.g. !j9x
      args - Arguments for command
      context - Context to work in
      out - PrintStream to write command output on
      Throws:
      DDRInteractiveCommandException - If there is any problem running the command (incorrect usage, CorruptData etc.)
    • writeHeaderBytesToTrace

      protected void writeHeaderBytesToTrace(Context context, byte[] headerBytes, PrintStream out)
    • writeBytesToTrace

      protected void writeBytesToTrace(Context context, long address, int bufferSize, PrintStream out)