Class CheckReporter
java.lang.Object
com.ibm.j9ddr.vm29.tools.ddrinteractive.gccheck.CheckReporter
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
print()
abstract void
Output non-error informationvoid
println()
abstract void
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)
-
Field Details
-
_maxErrorsToReport
protected long _maxErrorsToReport
-
-
Constructor Details
-
CheckReporter
public CheckReporter()
-
-
Method Details
-
report
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
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
Output non-error information -
println
-
print
public void print() -
println
public void println() -
setMaxErrorsToReport
public void setMaxErrorsToReport(long count) -
shouldReport
-
reportGenericType
-