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, memorySourcesFields declared in class com.ibm.j9ddr.corereaders.memory.SearchableMemory
rangeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintlonggetPointerAt(long address) final StringgetProcedureNameForAddress(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, removeMemorySourceMethods declared in class com.ibm.j9ddr.corereaders.memory.SearchableMemory
buildRangeTable, findPattern, mergeRangeTableMethods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods declared in interface com.ibm.j9ddr.corereaders.memory.IAddressSpace
getCoreMethods declared in interface com.ibm.j9ddr.corereaders.memory.IMemory
findPattern, getByteAt, getByteOrder, getBytesAt, getBytesAt, getIntAt, getLongAt, getMemoryRanges, getPlatform, getProperties, getShortAt, isExecutable, isReadOnly, isSharedMethods 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:
bytesPerPointerin interfaceIProcess- Returns:
- Number of bytes in a pointer
-
getPointerAt
- Specified by:
getPointerAtin interfaceIProcess- Throws:
MemoryFault
-
getAddressSpaceId
public int getAddressSpaceId()- Specified by:
getAddressSpaceIdin interfaceIAddressSpace- Returns:
- Numeric ID of address space.
-
getAddressSpace
- Specified by:
getAddressSpacein interfaceIProcess- Returns:
- Address space this process uses.
-
getProcesses
- Specified by:
getProcessesin interfaceIAddressSpace- Returns:
- List of processes using this address space.
-
getProcedureNameForAddress
Description copied from interface:IProcessEquivalent to getProcedureNameForAddress(address, false). Default behaviour is to return DDR format strings for symbols.- Specified by:
getProcedureNameForAddressin interfaceIProcess- Throws:
CorruptDataException
-
getProcedureNameForAddress
public String getProcedureNameForAddress(long address, boolean dtfjFormat) throws CorruptDataException - Specified by:
getProcedureNameForAddressin interfaceIProcess- Throws:
CorruptDataException
-