- 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 int
S64BIT
-
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 String
getCPUSubType()
String
getCPUType()
long
getCreationTime()
protected abstract long
getInstructionPointerFrom(Map<String,Number> registers)
protected abstract long
getLinkRegisterFrom(Map<String,Number> registers)
protected com.ibm.j9ddr.corereaders.aix.AIXProcessAddressSpace
getProcess()
static ICore
getReaderForFile(File file)
static ICore
getReaderForFile(ImageInputStream in)
protected abstract long
getStackPointerFrom(Map<String,Number> registers)
protected abstract boolean
is64Bit()
static boolean
isAIXDump(byte[] data, long filesize)
protected static boolean
isAIXDump(ClosingFileReader f)
protected abstract int
pointerSize()
protected abstract long
readAddress()
protected void
readCore()
protected abstract int
readLoaderInfoFlags()
protected abstract Map<String,Number>
readRegisters(long threadOffset)
protected abstract int
sizeofTopOfStack()
protected abstract long
threadSize(long threadOffset)
protected abstract long
userInfoOffset()
boolean
validDump(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
-
-