Class CorruptJavaObject
java.lang.Object
com.ibm.j9ddr.vm29.view.dtfj.java.DTFJJavaObject
com.ibm.j9ddr.vm29.view.dtfj.java.corrupt.CorruptJavaObject
- All Implemented Interfaces:
CorruptData, JavaObject
-
Field Summary
Fields declared in class DTFJJavaObject
arrayptr, heap, objectModifier and TypeFieldDescriptionprotected com.ibm.j9ddr.vm29.pointer.generated.J9ArrayClassPointerprotected DTFJJavaHeapprotected final com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer -
Constructor Summary
ConstructorsConstructorDescriptionCorruptJavaObject(DTFJJavaHeap heap, com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer object) -
Method Summary
Modifier and TypeMethodDescriptionReturn an address associated with the corruption.Methods declared in class DTFJJavaObject
arraycopy, equals, getArraySize, getHashcode, getHeap, getID, getJavaClass, getNativePackedDataPointer, getPersistentHashcode, getReferences, getSections, getSize, getTargetJavaObject, getTargetOffset, hashCode, isArray, isDerivedObject, isNativePacked, isNestedPacked, isPackedModifier and TypeMethodDescriptionvoidCopies data from the image array into a local Java array.booleanCompares the argument to the receiver, and answers true if they represent the same object using a class specific comparison.intGet the number of elements in this array.longFetch the basic hash code for the object.getHeap()Gets the heap where this object is located.getID()The ID of an object is a unique address is memory which identifies the object.Get the JavaClass instance which represents the class of this object.longlongFetch the basic hash code of the object in the image.Get the set of references from this object.An object is represented in the Java runtime by one or more regions of memory.longgetSize()Get the number of bytes of memory occupied by this object on the heap.longinthashCode()Answers an integer hash code for the receiver.booleanisArray()Is this object an array?booleanbooleanbooleanbooleanisPacked()Methods declared in class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods declared in interface CorruptData
toString
-
Constructor Details
-
CorruptJavaObject
public CorruptJavaObject(DTFJJavaHeap heap, com.ibm.j9ddr.vm29.pointer.generated.J9ObjectPointer object)
-
-
Method Details
-
getAddress
Description copied from interface:CorruptDataReturn an address associated with the corruption. If the corruption is not associated with an address, return null. If the corruption is associated with more than one address, return the one which best identifies the corruption.- Specified by:
getAddressin interfaceCorruptData- Returns:
- the address of the corrupted data.
-