java.lang.Object
com.ibm.j9ddr.corereaders.memory.SearchableMemory
com.ibm.j9ddr.corereaders.memory.AbstractMemory
com.ibm.j9ddr.corereaders.memory.BufferedMemory
- All Implemented Interfaces:
IAddressSpace
,IMemory
,IProcess
Object representing a single live
process model where a section of
memory in a the process can be represented
in a byte buffer as its source
- See Also:
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
getCore()
The core file from which this address space has been created fromCollection
<? extends IModule> long
getPointerAt
(long address) getProcedureNameForAddress
(long address) Equivalent to getProcedureNameForAddress(address, false).getProcedureNameForAddress
(long address, boolean dtfjFormat) long
int
Collection
<? extends IOSThread> boolean
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.IMemory
findPattern, getByteAt, getByteOrder, getBytesAt, getBytesAt, getIntAt, getLongAt, getMemoryRanges, getProperties, getShortAt, isExecutable, isReadOnly, isShared
-
Constructor Details
-
BufferedMemory
-
-
Method Details
-
getPlatform
- Specified by:
getPlatform
in interfaceIMemory
-
getAddressSpace
- Specified by:
getAddressSpace
in interfaceIProcess
- Returns:
- Address space this process uses.
-
getPointerAt
- Specified by:
getPointerAt
in interfaceIProcess
- Throws:
MemoryFault
-
bytesPerPointer
public int bytesPerPointer()- Specified by:
bytesPerPointer
in interfaceIProcess
- Returns:
- Number of bytes in a pointer
-
getCommandLine
- Specified by:
getCommandLine
in interfaceIProcess
- Returns:
- Process command line or null if the data is unavailable
- Throws:
CorruptDataException
DataUnavailableException
-
getEnvironmentVariables
- Specified by:
getEnvironmentVariables
in interfaceIProcess
- Returns:
- Properties containing environment variables name=value pairs
- Throws:
CorruptDataException
DataUnavailableException
-
getModules
- Specified by:
getModules
in interfaceIProcess
- Throws:
CorruptDataException
-
getExecutable
- Specified by:
getExecutable
in interfaceIProcess
- Throws:
CorruptDataException
-
getProcessId
- Specified by:
getProcessId
in interfaceIProcess
- Throws:
CorruptDataException
-
getProcedureNameForAddress
public String getProcedureNameForAddress(long address) throws DataUnavailableException, CorruptDataException Equivalent to getProcedureNameForAddress(address, false). Default behaviour is to return DDR format strings for symbols.- Specified by:
getProcedureNameForAddress
in interfaceIProcess
- Throws:
DataUnavailableException
CorruptDataException
-
getProcedureNameForAddress
public String getProcedureNameForAddress(long address, boolean dtfjFormat) throws DataUnavailableException, CorruptDataException - Specified by:
getProcedureNameForAddress
in interfaceIProcess
- Throws:
DataUnavailableException
CorruptDataException
-
getThreads
- Specified by:
getThreads
in interfaceIProcess
- Throws:
CorruptDataException
-
getSignalNumber
- Specified by:
getSignalNumber
in interfaceIProcess
- Throws:
DataUnavailableException
-
isFailingProcess
- Specified by:
isFailingProcess
in interfaceIProcess
- Throws:
DataUnavailableException
-
getCore
Description copied from interface:IAddressSpace
The core file from which this address space has been created from- Specified by:
getCore
in interfaceIAddressSpace
- Returns:
- the core file or null if this address space is not backed by an underlying core file
-
getProcesses
- Specified by:
getProcesses
in interfaceIAddressSpace
- Returns:
- List of processes using this address space.
-
getAddressSpaceId
public int getAddressSpaceId()- Specified by:
getAddressSpaceId
in interfaceIAddressSpace
- Returns:
- Numeric ID of address space.
-