java.lang.Object
com.ibm.j9ddr.corereaders.memory.SearchableMemory
com.ibm.j9ddr.corereaders.memory.AbstractMemory
com.ibm.j9ddr.corereaders.memory.ProcessAddressSpace
- All Implemented Interfaces:
IAddressSpace
,IMemory
,IProcess
- Direct Known Subclasses:
LinuxProcessAddressSpace
,OSXProcessAddressSpace
,WindowsProcessAddressSpace
Object representing the single address space / process model used by Linux,
AIX and Windows.
The same object represents the process and the address space - which saves
creating objects that exist solely to delegate.
-
Field Summary
Fields declared in class com.ibm.j9ddr.corereaders.memory.AbstractMemory
decoratorMappingTable, memorySources
Fields declared in class com.ibm.j9ddr.corereaders.memory.SearchableMemory
rangeTable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
long
getPointerAt
(long address) final String
getProcedureNameForAddress
(long address) Equivalent to getProcedureNameForAddress(address, false).getProcedureNameForAddress
(long address, boolean dtfjFormat) Methods declared in class com.ibm.j9ddr.corereaders.memory.AbstractMemory
addMemorySource, addMemorySources, getByteAt, getByteOrder, getBytesAt, getBytesAt, getIntAt, getLongAt, getMemoryRanges, getProperties, getShortAt, isExecutable, isReadOnly, isShared, removeMemorySource
Methods declared in class com.ibm.j9ddr.corereaders.memory.SearchableMemory
buildRangeTable, findPattern, mergeRangeTable
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.memory.IAddressSpace
getCore
Methods declared in interface com.ibm.j9ddr.corereaders.memory.IMemory
findPattern, getByteAt, getByteOrder, getBytesAt, getBytesAt, getIntAt, getLongAt, getMemoryRanges, getPlatform, getProperties, getShortAt, isExecutable, isReadOnly, isShared
Methods declared in interface com.ibm.j9ddr.corereaders.memory.IProcess
getCommandLine, getEnvironmentVariables, getExecutable, getModules, getProcessId, getSignalNumber, getThreads, isFailingProcess
-
Constructor Details
-
ProcessAddressSpace
-
-
Method Details
-
bytesPerPointer
public int bytesPerPointer()- Specified by:
bytesPerPointer
in interfaceIProcess
- Returns:
- Number of bytes in a pointer
-
getPointerAt
- Specified by:
getPointerAt
in interfaceIProcess
- Throws:
MemoryFault
-
getAddressSpaceId
public int getAddressSpaceId()- Specified by:
getAddressSpaceId
in interfaceIAddressSpace
- Returns:
- Numeric ID of address space.
-
getAddressSpace
- Specified by:
getAddressSpace
in interfaceIProcess
- Returns:
- Address space this process uses.
-
getProcesses
- Specified by:
getProcesses
in interfaceIAddressSpace
- Returns:
- List of processes using this address space.
-
getProcedureNameForAddress
Description copied from interface:IProcess
Equivalent to getProcedureNameForAddress(address, false). Default behaviour is to return DDR format strings for symbols.- Specified by:
getProcedureNameForAddress
in interfaceIProcess
- Throws:
CorruptDataException
-
getProcedureNameForAddress
public String getProcedureNameForAddress(long address, boolean dtfjFormat) throws CorruptDataException - Specified by:
getProcedureNameForAddress
in interfaceIProcess
- Throws:
CorruptDataException
-