java.lang.Object
com.ibm.j9ddr.corereaders.AbstractCoreReader
com.ibm.j9ddr.corereaders.aix.AIXDumpReader
- All Implemented Interfaces:
ICore,ILibraryDependentCore
-
Field Summary
FieldsFields declared in class com.ibm.j9ddr.corereaders.AbstractCoreReader
_fileReader, _memoryRanges, coreFileFields 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_PROPERTYFields declared in interface com.ibm.j9ddr.corereaders.ILibraryDependentCore
SYSTEM_PROP_EXE_PATH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close the handle to the core file and release any resourcesvoidexecutablePathHint(String path) Give the core reader a hint to the location of the executable.longThis is the dump format expressed as a string e.g. elf or xcoff.protected abstract longgetInstructionPointerFrom(Map<String, Number> registers) protected abstract longgetLinkRegisterFrom(Map<String, Number> registers) protected com.ibm.j9ddr.corereaders.aix.AIXProcessAddressSpacestatic ICoregetReaderForFile(File file) static ICoreprotected abstract longgetStackPointerFrom(Map<String, Number> registers) protected abstract booleanis64Bit()static booleanisAIXDump(byte[] data, long filesize) protected static booleanprotected abstract intprotected abstract longprotected voidreadCore()protected abstract intreadRegisters(long threadOffset) protected abstract intprotected abstract longthreadSize(long threadOffset) protected abstract longbooleanvalidDump(byte[] data, long filesize) Methods declared in class com.ibm.j9ddr.corereaders.AbstractCoreReader
checkOffset, close, format, format, readByte, readBytes, readFully, readFully, readInt, readInt, readLong, readLong, readShort, readString, seek, setReaderMethods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods declared in interface com.ibm.j9ddr.corereaders.ICore
isTruncated
-
Field Details
-
S64BIT
protected static final int S64BIT- See Also:
-
-
Constructor Details
-
AIXDumpReader
public AIXDumpReader()
-
-
Method Details
-
readRegisters
- Throws:
IOException
-
readLoaderInfoFlags
- Throws:
IOException
-
userInfoOffset
protected abstract long userInfoOffset() -
threadSize
protected abstract long threadSize(long threadOffset) -
pointerSize
protected abstract int pointerSize() -
getStackPointerFrom
-
getInstructionPointerFrom
-
getLinkRegisterFrom
-
sizeofTopOfStack
protected abstract int sizeofTopOfStack() -
isAIXDump
- Throws:
IOException
-
validDump
public boolean validDump(byte[] data, long filesize) -
readCore
- Throws:
IOException
-
getCPUType
-
getCPUSubType
-
getCreationTime
public long getCreationTime() -
is64Bit
protected abstract boolean is64Bit() -
readAddress
- Throws:
IOException
-
executablePathHint
Description copied from interface:ILibraryDependentCoreGive the core reader a hint to the location of the executable. If it hasn't already found and loaded the libraries, may attempt to do so.- Specified by:
executablePathHintin interfaceILibraryDependentCore- Parameters:
path-
-
getDumpFormat
Description copied from interface:ICoreThis is the dump format expressed as a string e.g. elf or xcoff. It is recommended that this name is in lower case.- Specified by:
getDumpFormatin interfaceICore- Returns:
-
getProcess
protected com.ibm.j9ddr.corereaders.aix.AIXProcessAddressSpace getProcess() -
getAddressSpaces
- Specified by:
getAddressSpacesin interfaceICore- Returns:
- Address spaces held in this core dump
-
getPlatform
- Specified by:
getPlatformin interfaceICore- Returns:
- Platform that created the dump
-
getProperties
- Specified by:
getPropertiesin interfaceICore- Returns:
- Property set for this core
-
isAIXDump
public static boolean isAIXDump(byte[] data, long filesize) -
getReaderForFile
-
getReaderForFile
public static ICore getReaderForFile(ImageInputStream in) throws IOException, InvalidDumpFormatException -
close
Description copied from interface:ICoreClose the handle to the core file and release any resources- Specified by:
closein interfaceICore- Throws:
IOException
-