- java.lang.Object
-
- com.ibm.j9ddr.vm29.tools.ddrinteractive.gccheck.CheckReporter
-
- Direct Known Subclasses:
CheckReporterTTY
public abstract class CheckReporter extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected long
_maxErrorsToReport
-
Constructor Summary
Constructors Constructor Description CheckReporter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
print()
abstract void
print(String arg)
Output non-error informationvoid
println()
abstract void
println(String arg)
abstract void
report(CheckError error)
Report an error.abstract void
reportClass(CheckError error, com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer clazz, String prefix)
Report information from a classabstract void
reportFatalError(CheckError error)
Report the fact that a fatal error has occurred.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".void
reportGenericType(CheckError error, CheckElement reference, String prefix)
abstract void
reportHeapWalkError(CheckError error, CheckElement previousObjectPtr1, CheckElement previousObjectPtr2, CheckElement previousObjectPtr3)
Report the fact that an error has occurred while walking the heap.abstract void
reportObjectHeader(CheckError error, com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer objectPtr, String prefix)
Report information from an object header.void
setMaxErrorsToReport(long count)
boolean
shouldReport(CheckError error)
-
-
-
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)
-
reportGenericType
public void reportGenericType(CheckError error, CheckElement reference, String prefix)
-
-