Class CheckReporter

java.lang.Object
com.ibm.j9ddr.vm29.tools.ddrinteractive.gccheck.CheckReporter
Direct Known Subclasses:
CheckReporterTTY

public abstract class CheckReporter extends Object
  • Field Details

    • _maxErrorsToReport

      protected long _maxErrorsToReport
  • Constructor Details

    • CheckReporter

      public CheckReporter()
  • Method Details

    • report

      public abstract void report(CheckError error)
      Report an error. Accepts an error object and outputs error to the appropriate device.
      Parameters:
      error - The error to be reported
    • reportObjectHeader

      public abstract void reportObjectHeader(CheckError error, com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer objectPtr, String prefix)
      Report information from an object header.
    • reportClass

      public abstract void reportClass(CheckError error, com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer clazz, String prefix)
      Report information from a class
    • reportFatalError

      public abstract void reportFatalError(CheckError error)
      Report the fact that a fatal error has occurred.
    • reportHeapWalkError

      public abstract void reportHeapWalkError(CheckError error, CheckElement previousObjectPtr1, CheckElement previousObjectPtr2, CheckElement previousObjectPtr3)
      Report the fact that an error has occurred while walking the heap.
    • reportForwardedObject

      public abstract void reportForwardedObject(com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer object, com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer newObject)
      Report that a forwarded pointer was encountered when running with "midscavenge".
    • print

      public abstract void print(String arg)
      Output non-error information
    • println

      public abstract void println(String arg)
    • print

      public void print()
    • println

      public void println()
    • setMaxErrorsToReport

      public void setMaxErrorsToReport(long count)
    • shouldReport

      public boolean shouldReport(CheckError error)
    • reportGenericType

      public void reportGenericType(CheckError error, CheckElement reference, String prefix)