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 MemorySourceTableFields declared in class com.ibm.j9ddr.corereaders.memory.SearchableMemory
rangeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMemorySource(IMemorySource source) voidaddMemorySources(Collection<? extends IMemorySource> memorySources) bytegetByteAt(long address) intgetBytesAt(long address, byte[] buffer) intgetBytesAt(long address, byte[] buffer, int offset, int length) intgetIntAt(long address) longgetLongAt(long address) getProperties(long address) shortgetShortAt(long address) booleanisExecutable(long address) booleanisReadOnly(long address) booleanisShared(long address) voidremoveMemorySource(IMemorySource source) Methods 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.IMemory
findPattern, getPlatform
-
Field Details
-
memorySources
-
decoratorMappingTable
-
-
Constructor Details
-
AbstractMemory
-
-
Method Details
-
getByteAt
- Specified by:
getByteAtin interfaceIMemory- Throws:
MemoryFault
-
getBytesAt
- Specified by:
getBytesAtin interfaceIMemory- Throws:
MemoryFault
-
getBytesAt
- Specified by:
getBytesAtin interfaceIMemory- Throws:
MemoryFault
-
getIntAt
- Specified by:
getIntAtin interfaceIMemory- Throws:
MemoryFault
-
getLongAt
- Specified by:
getLongAtin interfaceIMemory- Throws:
MemoryFault
-
getShortAt
- Specified by:
getShortAtin interfaceIMemory- Throws:
MemoryFault
-
addMemorySource
-
removeMemorySource
-
addMemorySources
-
getMemoryRanges
- Specified by:
getMemoryRangesin interfaceIMemory
-
getByteOrder
- Specified by:
getByteOrderin interfaceIMemory
-
isExecutable
public boolean isExecutable(long address) - Specified by:
isExecutablein interfaceIMemory
-
isReadOnly
public boolean isReadOnly(long address) - Specified by:
isReadOnlyin interfaceIMemory
-
getProperties
- Specified by:
getPropertiesin interfaceIMemory
-