java.lang.Object
com.ibm.j9ddr.corereaders.memory.SearchableMemory
com.ibm.j9ddr.corereaders.memory.AbstractMemory
- All Implemented Interfaces:
IMemory
- Direct Known Subclasses:
BufferedMemory
,ProcessAddressSpace
Abstract class containing the logic for mapping a memory space
onto a set of IMemorySource objects through a caching layer.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Map
<IMemorySource, IMemorySource> protected final MemorySourceTable
Fields declared in class com.ibm.j9ddr.corereaders.memory.SearchableMemory
rangeTable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMemorySource
(IMemorySource source) void
addMemorySources
(Collection<? extends IMemorySource> memorySources) byte
getByteAt
(long address) int
getBytesAt
(long address, byte[] buffer) int
getBytesAt
(long address, byte[] buffer, int offset, int length) int
getIntAt
(long address) long
getLongAt
(long address) getProperties
(long address) short
getShortAt
(long address) boolean
isExecutable
(long address) boolean
isReadOnly
(long address) boolean
isShared
(long address) void
removeMemorySource
(IMemorySource source) 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, getPlatform
-
Field Details
-
memorySources
-
decoratorMappingTable
-
-
Constructor Details
-
AbstractMemory
-
-
Method Details
-
getByteAt
- Specified by:
getByteAt
in interfaceIMemory
- Throws:
MemoryFault
-
getBytesAt
- Specified by:
getBytesAt
in interfaceIMemory
- Throws:
MemoryFault
-
getBytesAt
- Specified by:
getBytesAt
in interfaceIMemory
- Throws:
MemoryFault
-
getIntAt
- Specified by:
getIntAt
in interfaceIMemory
- Throws:
MemoryFault
-
getLongAt
- Specified by:
getLongAt
in interfaceIMemory
- Throws:
MemoryFault
-
getShortAt
- Specified by:
getShortAt
in interfaceIMemory
- Throws:
MemoryFault
-
addMemorySource
-
removeMemorySource
-
addMemorySources
-
getMemoryRanges
- Specified by:
getMemoryRanges
in interfaceIMemory
-
getByteOrder
- Specified by:
getByteOrder
in interfaceIMemory
-
isExecutable
public boolean isExecutable(long address) - Specified by:
isExecutable
in interfaceIMemory
-
isReadOnly
public boolean isReadOnly(long address) - Specified by:
isReadOnly
in interfaceIMemory
-
getProperties
- Specified by:
getProperties
in interfaceIMemory
-