Class WindowsProcessAddressSpace
java.lang.Object
com.ibm.j9ddr.corereaders.memory.SearchableMemory
com.ibm.j9ddr.corereaders.memory.AbstractMemory
com.ibm.j9ddr.corereaders.memory.ProcessAddressSpace
com.ibm.j9ddr.corereaders.minidump.WindowsProcessAddressSpace
- All Implemented Interfaces:
IAddressSpace, IMemory, IProcess
-
Field Summary
Fields declared in class AbstractMemory
decoratorMappingTable, memorySourcesModifier and TypeFieldDescriptionprotected final Map<IMemorySource, IMemorySource> protected final MemorySourceTableFields declared in class SearchableMemory
rangeTable -
Method Summary
Modifier and TypeMethodDescriptiongetCore()The core file from which this address space has been created fromThis method tries to get environment variables by iterating through modules.longintbooleanMethods declared in class ProcessAddressSpace
bytesPerPointer, getAddressSpace, getAddressSpaceId, getPointerAt, getProcedureNameForAddress, getProcedureNameForAddress, getProcessesModifier and TypeMethodDescriptionintintlonggetPointerAt(long address) final StringgetProcedureNameForAddress(long address) Equivalent to getProcedureNameForAddress(address, false).getProcedureNameForAddress(long address, boolean dtfjFormat) Methods declared in class AbstractMemory
addMemorySource, addMemorySources, getByteAt, getByteOrder, getBytesAt, getBytesAt, getIntAt, getLongAt, getMemoryRanges, getProperties, getShortAt, isExecutable, isReadOnly, isShared, removeMemorySourceModifier and TypeMethodDescriptionvoidaddMemorySource(IMemorySource source) voidaddMemorySources(Collection<? extends IMemorySource> memorySources) bytegetByteAt(long address) intgetBytesAt(long address, byte[] buffer) intgetBytesAt(long address, byte[] buffer, int offset, int length) intgetIntAt(long address) longgetLongAt(long address) getProperties(long address) shortgetShortAt(long address) booleanisExecutable(long address) booleanisReadOnly(long address) booleanisShared(long address) voidremoveMemorySource(IMemorySource source) Methods declared in class SearchableMemory
buildRangeTable, findPattern, mergeRangeTableModifier and TypeMethodDescriptionprotected long[][]longfindPattern(byte[] whatBytes, int alignment, long startFrom) protected intmergeRangeTable(long[][] rangeTable) Merges consecutive ranges to build a list of ranges to read
-
Method Details
-
getCore
Description copied from interface:IAddressSpaceThe core file from which this address space has been created from- Returns:
- the core file or null if this address space is not backed by an underlying core file
-
getCommandLine
- Returns:
- Process command line or null if the data is unavailable
- Throws:
CorruptDataExceptionDataUnavailableException
-
getEnvironmentVariables
This method tries to get environment variables by iterating through modules. It returns the one with environment variable "OPENJ9_JAVA_COMMAND_LINE" or "IBM_JAVA_COMMAND_LINE". If no module has either, then it returns the last one.- Returns:
- Properties instance of environment variables
- Throws:
DataUnavailableExceptionCorruptDataException
-
getExecutable
- Throws:
CorruptDataException
-
getModules
- Throws:
CorruptDataException
-
getProcessId
- Throws:
CorruptDataException
-
getThreads
- Throws:
CorruptDataException
-
getPlatform
-
getSignalNumber
- Throws:
DataUnavailableException
-
isFailingProcess
- Throws:
DataUnavailableException
-