- java.lang.Object
-
- com.ibm.j9ddr.corereaders.AbstractCoreReader
-
- com.ibm.j9ddr.corereaders.minidump.MiniDumpReader
-
- All Implemented Interfaces:
ICore,ICoreFileReader
public class MiniDumpReader extends AbstractCoreReader implements ICoreFileReader
-
-
Nested Class Summary
-
Nested classes/interfaces declared in interface com.ibm.j9ddr.corereaders.ICoreFileReader
ICoreFileReader.DumpTestResult
-
-
Field Summary
Fields Modifier and Type Field Description static StringWINDOWS_BUILDNO_PROPERTY-
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.ICoreFileReader
J9DDR_CORE_READERS_LOGGER_NAME
-
-
Constructor Summary
Constructors Constructor Description MiniDumpReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddModule(String moduleName)IModulegetExecutable()List<IModule>getModules()intgetPid()protected shortgetProcessorArchitecture()List<IOSThread>getThreads()booleanis64Bit()ICoreprocessDump(File file)protected voidsetMemorySources(Collection<? extends IMemorySource> ranges)voidsetProcessID(int pid)protected voidsetProcessorArchitecture(short processorArchitecture, String procSubtype, int numberOfProcessors)protected voidsetWindowsType(byte type, int major, int minor, int buildNo)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.ICoreFileReader
processDump, processDump, testDump, testDump
-
-
-
-
Field Detail
-
WINDOWS_BUILDNO_PROPERTY
public static final String WINDOWS_BUILDNO_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
processDump
public ICore processDump(File file) throws FileNotFoundException, InvalidDumpFormatException, IOException
-
validDump
public boolean validDump(byte[] data, long filesize)
-
is64Bit
public boolean is64Bit()
-
setProcessorArchitecture
protected void setProcessorArchitecture(short processorArchitecture, String procSubtype, int numberOfProcessors)
-
setWindowsType
protected void setWindowsType(byte type, int major, int minor, int buildNo)
-
setProcessID
public void setProcessID(int pid)
-
addModule
public void addModule(String moduleName)
-
getProcessorArchitecture
protected short getProcessorArchitecture()
-
setMemorySources
protected void setMemorySources(Collection<? extends IMemorySource> ranges)
-
getExecutable
public IModule getExecutable()
-
getPid
public int getPid()
-
-