- All Superinterfaces:
IMemory
- All Known Implementing Classes:
ASNoProcess,BufferedMemory,LinuxProcessAddressSpace,OSXProcessAddressSpace,ProcessAddressSpace,WindowsProcessAddressSpace
Models an OS process.
IProcess is-a IMemorySpace because a process knows how big a pointer is (on
zOS 32 and 64 bit processes can share the same 64 bit address space). It
would be unpleasant to ask an IProcess how big its pointers were, then ask
for its address space and then ask that for its memory.
-
Method Summary
Modifier and TypeMethodDescriptionintCollection<? extends IModule> longgetPointerAt(long address) getProcedureNameForAddress(long address) Equivalent to getProcedureNameForAddress(address, false).getProcedureNameForAddress(long address, boolean dtfjFormat) longintCollection<? extends IOSThread> booleanMethods declared in interface com.ibm.j9ddr.corereaders.memory.IMemory
findPattern, getByteAt, getByteOrder, getBytesAt, getBytesAt, getIntAt, getLongAt, getMemoryRanges, getPlatform, getProperties, getShortAt, isExecutable, isReadOnly, isShared
-
Method Details
-
getAddressSpace
IAddressSpace getAddressSpace()- Returns:
- Address space this process uses.
-
getPointerAt
- Throws:
MemoryFault
-
bytesPerPointer
int bytesPerPointer()- Returns:
- Number of bytes in a pointer
-
getCommandLine
- Returns:
- Process command line or null if the data is unavailable
- Throws:
CorruptDataExceptionDataUnavailableException
-
getEnvironmentVariables
- Returns:
- Properties containing environment variables name=value pairs
- Throws:
CorruptDataExceptionDataUnavailableException
-
getModules
- Throws:
CorruptDataException
-
getExecutable
- Throws:
CorruptDataException
-
getProcessId
- Throws:
CorruptDataException
-
getProcedureNameForAddress
String getProcedureNameForAddress(long address) throws DataUnavailableException, CorruptDataException Equivalent to getProcedureNameForAddress(address, false). Default behaviour is to return DDR format strings for symbols. -
getProcedureNameForAddress
String getProcedureNameForAddress(long address, boolean dtfjFormat) throws DataUnavailableException, CorruptDataException -
getThreads
- Throws:
CorruptDataException
-
getSignalNumber
- Throws:
DataUnavailableException
-
isFailingProcess
- Throws:
DataUnavailableException
-