Uses of Class
com.ibm.dtfj.image.CorruptDataException
-
Packages that use CorruptDataException Package Description com.ibm.dtfj.image Classes to support reading system images.com.ibm.dtfj.image.javacore com.ibm.dtfj.java Classes to support Java™ runtime instances.com.ibm.dtfj.java.j9 com.ibm.dtfj.java.javacore com.ibm.dtfj.runtime Classes to support managed runtime instances.com.ibm.j9ddr.view.dtfj com.ibm.j9ddr.view.dtfj.image com.ibm.j9ddr.view.dtfj.java com.ibm.j9ddr.view.dtfj.java.helper com.ibm.j9ddr.vm29.view.dtfj.java com.ibm.jvm.dtfjview.commands.helpers -
-
Uses of CorruptDataException in com.ibm.dtfj.image
Methods in com.ibm.dtfj.image that throw CorruptDataException Modifier and Type Method Description ImagePointer
ImageStackFrame. getBasePointer()
Get the base pointer of the stack frame.byte
ImagePointer. getByteAt(long index)
Get the value at the given offset from this pointer.String
ImageProcess. getCommandLine()
Fetch the command line for this process.long
Image. getCreationTimeNanos()
Get the value of the JVM's high-resolution timer when the image was created.ImageThread
ImageProcess. getCurrentThread()
Find the thread which triggered the creation of the imagedouble
ImagePointer. getDoubleAt(long index)
Get the value at the given offset from this pointer.Properties
ImageProcess. getEnvironment()
Get the environment variables for this process.ImageModule
ImageProcess. getExecutable()
Get the module representing the executable within the image.float
ImagePointer. getFloatAt(long index)
Get the value at the given offset from this pointer.String
Image. getHostName()
Get the host name of the system where the image was running.String
ImageAddressSpace. getID()
Gets the system wide identifier for the address spaceString
ImageProcess. getID()
Get the system-wide identifier for the process.String
ImageThread. getID()
Fetch a unique identifier for the thread.int
ImagePointer. getIntAt(long index)
Get the value at the given offset from this pointer.Iterator
ImageProcess. getLibraries()
Get the set of shared libraries which are loaded in this process.long
ImageModule. getLoadAddress()
Get the address at which the module or executable was loaded.long
ImagePointer. getLongAt(long index)
Get the value at the given offset from this pointer.String
ImageModule. getName()
Get the file name of the shared library.ImagePointer
ImagePointer. getPointerAt(long index)
Get the value at the given offset from this pointer.ImagePointer
ImageStackFrame. getProcedureAddress()
Get the address of the current instruction within the procedure being executed.String
ImageStackFrame. getProcedureName()
Returns a string describing the procedure at this stack frame.String
Image. getProcessorSubType()
Get the precise model of the CPU.String
Image. getProcessorType()
Get the family name for the processor on which the image was running.Properties
ImageModule. getProperties()
Get the table of properties associated with this module.short
ImagePointer. getShortAt(long index)
Get the value at the given offset from this pointer.String
ImageProcess. getSignalName()
Get the name of the OS signal in this process which triggered the creation of this image.int
ImageProcess. getSignalNumber()
Get the OS signal number in this process which triggered the creation of this image.String
Image. getSystemSubType()
Get the detailed name of the operating system.String
Image. getSystemType()
Get the family name for the operating system.Number
ImageRegister. getValue()
Get the value of the register. -
Uses of CorruptDataException in com.ibm.dtfj.image.javacore
Methods in com.ibm.dtfj.image.javacore that throw CorruptDataException Modifier and Type Method Description String
JCImageProcess. getSignalName()
Get signal name (if signal was available in javacore).int
JCImageProcess. getSignalNumber()
Get signal number (if signal was available in javacore) -
Uses of CorruptDataException in com.ibm.dtfj.java
Methods in com.ibm.dtfj.java that throw CorruptDataException Modifier and Type Method Description void
JavaObject. arraycopy(int srcStart, Object dst, int dstStart, int length)
Copies data from the image array into a local Java array.JavaClass
JavaClassLoader. findClass(String name)
Find a named class within this class loader.Object
JavaField. get(JavaObject object)
Get the contents of an Object field.ImagePointer
JavaLocation. getAddress()
Fetches the absolute address of the code which this location represents.String
JavaRuntimeMemorySection. getAllocator()
Returns string describing the code that allocated this memory section.int
JavaObject. getArraySize()
Get the number of elements in this array.ImagePointer
JavaStackFrame. getBasePointer()
Get a pointer to the base of this stack frameJavaObject
JavaThread. getBlockingObject()
For threads that are in STATE_BLOCKED_ON_MONITOR_ENTER this method returns the JavaObject who's monitor they are blocked on.boolean
JavaField. getBoolean(JavaObject object)
Get the contents of a boolean field.byte
JavaField. getByte(JavaObject object)
Get the contents of a byte field.char
JavaField. getChar(JavaObject object)
Get the contents of a char field.Iterator
JavaRuntimeMemoryCategory. getChildren()
Gets iterator of child categories.JavaClassLoader
JavaClass. getClassLoader()
Fetch the class loader associated with this class.int
JavaLocation. getCompilationLevel()
Get the compilation level for this location.JavaClass
JavaClass. getComponentType()
For array classes, returns a JavaClass representing the component type of this array class.JavaClass
JavaMember. getDeclaringClass()
Get the class which declares this field or methodlong
JavaRuntimeMemoryCategory. getDeepAllocations()
Gets number of allocations recorded against this category, and all children of this category.long
JavaRuntimeMemoryCategory. getDeepBytes()
Gets number of bytes recorded against this category, and all children of this category.double
JavaField. getDouble(JavaObject object)
Get the contents of a double field.ImagePointer
JavaVMOption. getExtraInfo()
Fetch the extraInfo component of this option.String
JavaLocation. getFilename()
Get the source file name.float
JavaField. getFloat(JavaObject object)
Get the contents of a float field.long
JavaObject. getHashcode()
Fetch the basic hash code for the object.JavaHeap
JavaObject. getHeap()
Gets the heap where this object is located.boolean
JavaVMInitArgs. getIgnoreUnrecognized()
Fetch the ignoreUnrecognized field from the JavaVMInitArgs structure used to create this VM.ImageThread
JavaThread. getImageThread()
Represents the joining point between the Java view of execution and the corresponding native view.long
JavaClass. getInstanceSize()
Returns the size in bytes of an instance of this class on the heap.int
JavaField. getInt(JavaObject object)
Get the contents of an int field.JavaClass
JavaObject. getJavaClass()
Get the JavaClass instance which represents the class of this object.ImagePointer
JavaRuntime. getJavaVM()
Get the object that represents the virtual machineJavaVMInitArgs
JavaRuntime. getJavaVMInitArgs()
Fetch the JavaVMInitArgs which were used to create this VM.Properties
JavaRuntime. getJITProperties()
Get any vendor specific properties in use by the JIT for this Java runtimeImagePointer
JavaThread. getJNIEnv()
Get the address of the JNIEnv structure which represents this thread instance in JNI.int
JavaLocation. getLineNumber()
Get the line number.JavaLocation
JavaStackFrame. getLocation()
Get the location at which the method owning this frame is currently executinglong
JavaField. getLong(JavaObject object)
Get the contents of a long field.JavaRuntimeMemoryCategory
JavaRuntimeMemorySection. getMemoryCategory()
Returns memory category this section was allocated under.Iterator
JavaRuntimeMemoryCategory. getMemorySections(boolean includeFreed)
Gets iterator of memory sections allocated against this category.JavaMethod
JavaLocation. getMethod()
Get the method which contains the point of execution.int
JavaClass. getModifiers()
Return the Java language modifiers for this class.int
JavaMember. getModifiers()
Get the set of modifiers for this field or method - a set of bitsString
JavaClass. getName()
Get the name of the class.String
JavaMember. getName()
Get the name of the field or methodString
JavaMonitor. getName()
Note that the name of a JavaMonitor is not necessarily meaningful but is provided here as it is usually present in the running VM.String
JavaRuntimeMemoryCategory. getName()
Gets the name of this category.String
JavaThread. getName()
Return the name of the thread.JavaObject
JavaClass. getObject()
Fetch the java.lang.Class object associated with this class.JavaObject
JavaClassLoader. getObject()
Get the java.lang.ClassLoader instance associated with this class loader.JavaObject
JavaThread. getObject()
Fetch the java.lang.Thread associated with this thread.JavaObject
JavaRuntime. getObjectAtAddress(ImagePointer address)
Gets the object located at addressaddress
in the heap.String
JavaVMOption. getOptionString()
Fetch the optionString component of the option.JavaThread
JavaMonitor. getOwner()
Get the thread which currently owns the monitorlong
JavaObject. getPersistentHashcode()
Fetch the basic hash code of the object in the image.int
JavaThread. getPriority()
Get the Java priority of the thread.JavaObject
JavaClass. getProtectionDomain()
Returns the protection domain for this class.int
JavaReference. getReachability()
Get the reachability of the target object via this specific reference.int
JavaReference. getReferenceType()
Get the reference type, as defined in the JVMTI specification.int
JavaReference. getRootType()
Get the root type, as defined in the JVMTI specification.long
JavaRuntimeMemoryCategory. getShallowAllocations()
Gets number of allocations recorded against this category.long
JavaRuntimeMemoryCategory. getShallowBytes()
Gets number of bytes allocated under this category.short
JavaField. getShort(JavaObject object)
Get the contents of a short field.String
JavaMember. getSignature()
Get the signature of the field or methodlong
JavaObject. getSize()
Get the number of bytes of memory occupied by this object on the heap.Object
JavaReference. getSource()
Get the source of this reference if available.long
JavaRuntime. getStartTime()
Get the time when the JVM was started.long
JavaRuntime. getStartTimeNanos()
Get the value of the JVM's high-resolution timer when the JVM was started.int
JavaThread. getState()
Get the state of the thread when the image was created.String
JavaField. getString(JavaObject object)
Get the contents of a string field.JavaClass
JavaClass. getSuperclass()
Get the immediate superclass of this class.default String
JavaRuntime. getSystemProperty(String key)
Get a system property of the virtual machine.Object
JavaReference. getTarget()
Get the object referred to by this reference.Object
JavaRuntime. getTraceBuffer(String bufferName, boolean formatted)
Fetches implementation specific trace buffers, like the verbose GC buffer or the Universal Trace Engine (UTE) bufferint
JavaVMInitArgs. getVersion()
Fetch the JNI version from the JavaVMInitArgs structure used to create this VM.boolean
JavaClass. isArray()
Is this an array class ?boolean
JavaObject. isArray()
Is this object an array?boolean
JavaReference. isClassReference()
Does this reference point to a class?boolean
JavaRuntime. isJITEnabled()
Determine if the JIT was enabled for this Java runtime.default boolean
JavaField. isNestedPacked()
Deprecated.default boolean
JavaField. isNestedPackedArray()
Deprecated.boolean
JavaReference. isObjectReference()
Does this reference point to an object in the heap? -
Uses of CorruptDataException in com.ibm.dtfj.java.j9
Methods in com.ibm.dtfj.java.j9 that throw CorruptDataException Modifier and Type Method Description static JavaObject
JavaObject. createJavaObject(JavaRuntime vm, ImagePointer address)
Deprecated.UseJavaRuntime.getObjectAtAddress(ImagePointer)
insteadstatic JavaObject
JavaObject. createJavaObject(JavaRuntime vm, ImagePointer address, JavaHeap containingHeap, JavaHeapRegion containingRegion)
Deprecated.UseJavaRuntime#getObjectInHeapRegion(ImagePointer,JavaHeap,JavaHeapRegion)
insteadint
JavaArrayClass. getBytesPerElement(int refFieldSize)
Looks up the class name of the child elements to determine the size of one elementString
JavaClass. getFilename()
ImagePointer
JavaObject. getFObjectAtOffset(int offset)
JavaObject
JavaHeapRegion. getObjectAtAddress(ImagePointer address)
protected abstract Object
JavaField. getReferenceType(JavaObject object)
ImagePointer
JavaHeap. readClassPointerRelativeTo(ImagePointer pointer)
int
JavaAbstractClass. readFlagsFromInstance(JavaObject instance)
ImagePointer
JavaHeap. readFObjectAt(ImagePointer basePointer, long offset)
-
Uses of CorruptDataException in com.ibm.dtfj.java.javacore
Methods in com.ibm.dtfj.java.javacore that throw CorruptDataException Modifier and Type Method Description JavaClass
JCJavaClass. getComponentType()
component type only for arraysString
JCJavaRuntime. getFullVersion()
ImagePointer
JCJavaRuntime. getJavaVM()
JavaVMInitArgs
JCJavaRuntime. getJavaVMInitArgs()
int
JCJavaClass. getModifiers()
String
JCJavaClass. getName()
JavaObject
JCJavaClass. getObject()
Instance object of this classJavaClass
JCJavaClass. getSuperclass()
Returning null is permissable for cases like Object, primitives, interfaces, etc..Object
JCJavaRuntime. getTraceBuffer(String arg0, boolean arg1)
String
JCJavaRuntime. getVersion()
boolean
JCJavaClass. isArray()
Same as the J9 System Core implementation for DTFJ. -
Uses of CorruptDataException in com.ibm.dtfj.runtime
Methods in com.ibm.dtfj.runtime that throw CorruptDataException Modifier and Type Method Description String
ManagedRuntime. getFullVersion()
Deprecated.Use "getVersion()" insteadString
ManagedRuntime. getVersion()
Get the version data available for this runtime instance. -
Uses of CorruptDataException in com.ibm.j9ddr.view.dtfj
Subclasses of CorruptDataException in com.ibm.j9ddr.view.dtfj Modifier and Type Class Description class
DTFJCorruptDataException
J9DDR CorruptDataException that can take a cause for improved debugging.Methods in com.ibm.j9ddr.view.dtfj that return CorruptDataException Modifier and Type Method Description static CorruptDataException
J9DDRDTFJUtils. handleAllButDataUnavailAsCorruptDataException(IProcess p, Throwable t)
Go through the standard handleAsCorruptDataException method to convert the supplied error condition into a corrupt data exception as long as it is not present in the allow list AND especially for this method, if it is not a DataUnavailable.static CorruptDataException
J9DDRDTFJUtils. handleAllButMemAccExAndDataUnavailAsCorruptDataException(IProcess p, Throwable t, Class<?>[] allowlist)
Go through the standard handleAsCorruptDataException method to convert the supplied error condition into a corrupt data exception as long as it is not present in the allow list AND especially for this method, if it is neither MemoryAccessException or DataUnavailable.static CorruptDataException
J9DDRDTFJUtils. handleAllButMemAccExAsCorruptDataException(IProcess p, Throwable t, Class<?>[] allowlist)
Go through the standard handleAsCorruptDataException method to convert the supplied error condition into a corrupt data exception as long as it is not present in the allow list AND especially for this method, if it is not a MemoryAccessException.static CorruptDataException
J9DDRDTFJUtils. handleAsCorruptDataException(IProcess p, Throwable t)
Convert the supplied error condition into a corrupt data exception or re-throw it if it is an instance of Error that we do not want to intercept.static CorruptDataException
J9DDRDTFJUtils. handleAsCorruptDataException(IProcess p, Throwable t, Class<?>[] allowlist)
Go through the standard handleAsCorruptDataException method to convert the supplied error condition into a corrupt data exception as long as it is not present in the allow list.static CorruptDataException
J9DDRDTFJUtils. newCorruptDataException(IProcess process, CorruptDataException e)
Convert a j9ddr corrupt data exception into a DTFJ corrupt data exception -
Uses of CorruptDataException in com.ibm.j9ddr.view.dtfj.image
Methods in com.ibm.j9ddr.view.dtfj.image that throw CorruptDataException Modifier and Type Method Description String
J9DDRImageProcess. getCommandLine()
This method tries to get command line of the program that generated core file.long
J9DDRImage. getCreationTimeNanos()
Return the value of the system nanotime (high resolution timer) at dump creation time.ImageThread
J9DDRImageProcess. getCurrentThread()
This method returns the ImageThread that matches the TID stored in the J9RAS data structure, or case 1: if no J9RAS structure available return null case 2: if J9RAS structure available but no TID field (old JVMs, old jextract behaviour) - return the first thread, or null if no threads case 3: if J9RAS structure available with TID field but TID is zero (eg dump triggered outside JVM) - platform specific code if core readers have identified a current thread, else...Properties
J9DDRImageProcess. getEnvironment()
This method gets the environment variables. -
Uses of CorruptDataException in com.ibm.j9ddr.view.dtfj.java
Methods in com.ibm.j9ddr.view.dtfj.java that throw CorruptDataException Modifier and Type Method Description String
IDTFJJavaField. getSignature()
-
Uses of CorruptDataException in com.ibm.j9ddr.view.dtfj.java.helper
Methods in com.ibm.j9ddr.view.dtfj.java.helper that throw CorruptDataException Modifier and Type Method Description static boolean
DTFJJavaFieldHelper. fieldIsString(IDTFJJavaField field)
Test whether the given field is a string, returning true or false according to whether the field signature matches that of a string.static JavaField
DTFJJavaClassHelper. getField(JavaClass clazz, String name)
static JavaObject
DTFJJavaClassHelper. getProtectionDomain(JavaClass clazz)
static long
DTFJJavaRuntimeHelper. getTotalHeapSize(JavaRuntime runtime, IProcess process)
-
Uses of CorruptDataException in com.ibm.j9ddr.vm29.view.dtfj.java
Methods in com.ibm.j9ddr.vm29.view.dtfj.java that throw CorruptDataException Modifier and Type Method Description protected long
DTFJJavaField. checkDataTypeConversion(DTFJJavaObject object, int mask)
String
DTFJJavaClass. getFilename()
String
DTFJJavaMethod. getFilename()
long
DTFJJavaClass. getPackedDataSize()
protected char
DTFJJavaField. getSigFlag()
long
DTFJJavaRuntime. getStartTime()
Return the JVM start time.long
DTFJJavaRuntime. getStartTimeNanos()
Return the value of the system nanotime (high resolution timer) at JVM start.protected DTFJJavaObject
DTFJJavaField. validateJavaObject(JavaObject object)
-
Uses of CorruptDataException in com.ibm.jvm.dtfjview.commands.helpers
Methods in com.ibm.jvm.dtfjview.commands.helpers that throw CorruptDataException Modifier and Type Method Description static String
Utils. getClassModifierString(JavaClass jc)
static String
Utils. getFieldModifierString(JavaField jf)
static String
Utils. getMethodModifierString(JavaMethod jm)
JavaThread
MonitorNode. getOwner()
static JavaThread
Utils. getParkBlockerOwner(JavaObject blocker, JavaRuntime r)
static JavaObject
Utils. getParkBlockerOwnerObject(JavaObject blocker, JavaRuntime r)
static String
Utils. getThreadNameFromObject(JavaObject lockOwnerObj, JavaRuntime rt, PrintStream out)
-