- java.lang.Object
-
- com.ibm.j9ddr.corereaders.AbstractCoreReader
-
- com.ibm.j9ddr.corereaders.aix.AIXDumpReader
-
- All Implemented Interfaces:
ICore,ILibraryDependentCore
public abstract class AIXDumpReader extends AbstractCoreReader implements ILibraryDependentCore
-
-
Field Summary
Fields Modifier and Type Field Description protected static intS64BIT-
Fields declared in class com.ibm.j9ddr.corereaders.AbstractCoreReader
_fileReader, _memoryRanges, coreFile
-
Fields declared in interface com.ibm.j9ddr.corereaders.ICore
CORE_CREATE_TIME_PROPERTY, PROCESSOR_COUNT_PROPERTY, PROCESSOR_SUBTYPE_PROPERTY, PROCESSOR_TYPE_PROPERTY, SYSTEM_SUBTYPE_PROPERTY, SYSTEM_TYPE_PROPERTY
-
Fields declared in interface com.ibm.j9ddr.corereaders.ILibraryDependentCore
SYSTEM_PROP_EXE_PATH
-
-
Constructor Summary
Constructors Constructor Description AIXDumpReader()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetCPUSubType()StringgetCPUType()longgetCreationTime()protected abstract longgetInstructionPointerFrom(Map<String,Number> registers)protected abstract longgetLinkRegisterFrom(Map<String,Number> registers)protected com.ibm.j9ddr.corereaders.aix.AIXProcessAddressSpacegetProcess()static ICoregetReaderForFile(File file)static ICoregetReaderForFile(ImageInputStream in)protected abstract longgetStackPointerFrom(Map<String,Number> registers)protected abstract booleanis64Bit()static booleanisAIXDump(byte[] data, long filesize)protected static booleanisAIXDump(ClosingFileReader f)protected abstract intpointerSize()protected abstract longreadAddress()protected voidreadCore()protected abstract intreadLoaderInfoFlags()protected abstract Map<String,Number>readRegisters(long threadOffset)protected abstract intsizeofTopOfStack()protected abstract longthreadSize(long threadOffset)protected abstract longuserInfoOffset()booleanvalidDump(byte[] data, long filesize)-
Methods declared in class com.ibm.j9ddr.corereaders.AbstractCoreReader
checkOffset, format, format, readByte, readBytes, readFully, readFully, readInt, readInt, readLong, readLong, readShort, readString, seek, setReader
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.j9ddr.corereaders.ICore
close, getAddressSpaces, getDumpFormat, getPlatform, getProperties, isTruncated
-
Methods declared in interface com.ibm.j9ddr.corereaders.ILibraryDependentCore
executablePathHint
-
-
-
-
Field Detail
-
S64BIT
protected static final int S64BIT
- See Also:
- Constant Field Values
-
-
Method Detail
-
readRegisters
protected abstract Map<String,Number> readRegisters(long threadOffset) throws IOException
- Throws:
IOException
-
readLoaderInfoFlags
protected abstract int readLoaderInfoFlags() throws IOException- Throws:
IOException
-
userInfoOffset
protected abstract long userInfoOffset()
-
threadSize
protected abstract long threadSize(long threadOffset)
-
pointerSize
protected abstract int pointerSize()
-
getInstructionPointerFrom
protected abstract long getInstructionPointerFrom(Map<String,Number> registers)
-
sizeofTopOfStack
protected abstract int sizeofTopOfStack()
-
isAIXDump
protected static boolean isAIXDump(ClosingFileReader f) throws IOException
- Throws:
IOException
-
validDump
public boolean validDump(byte[] data, long filesize)
-
readCore
protected void readCore() throws IOException- Throws:
IOException
-
getCPUType
public String getCPUType()
-
getCPUSubType
public String getCPUSubType()
-
getCreationTime
public long getCreationTime()
-
is64Bit
protected abstract boolean is64Bit()
-
readAddress
protected abstract long readAddress() throws IOException- Throws:
IOException
-
getProcess
protected com.ibm.j9ddr.corereaders.aix.AIXProcessAddressSpace getProcess()
-
isAIXDump
public static boolean isAIXDump(byte[] data, long filesize)
-
getReaderForFile
public static ICore getReaderForFile(File file) throws IOException, InvalidDumpFormatException
-
getReaderForFile
public static ICore getReaderForFile(ImageInputStream in) throws IOException, InvalidDumpFormatException
-
-