Module openj9.dtfj

Class CheckReporter

    • Field Detail

      • _maxErrorsToReport

        protected long _maxErrorsToReport
    • Constructor Detail

      • CheckReporter

        public CheckReporter()
    • Method Detail

      • 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)