- java.lang.Object
-
- com.ibm.j9ddr.corereaders.memory.BaseMemoryRange
-
- com.ibm.j9ddr.corereaders.memory.ProtectedMemoryRange
-
- com.ibm.j9ddr.corereaders.memory.BufferedMemorySource
-
- All Implemented Interfaces:
IMemoryRange
,IMemorySource
,Comparable<IMemoryRange>
public class BufferedMemorySource extends ProtectedMemoryRange implements IMemorySource
Serves as a ByteBuffer backed memory source.- See Also:
com.ibm.j9ddr.tools.ddrinteractive.BufferedMemory
-
-
Field Summary
-
Fields declared in class com.ibm.j9ddr.corereaders.memory.ProtectedMemoryRange
executable, readOnly, shared
-
Fields declared in class com.ibm.j9ddr.corereaders.memory.BaseMemoryRange
baseAddress, size
-
-
Constructor Summary
Constructors Constructor Description BufferedMemorySource(long address, ByteBuffer source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getByte(long address)
ByteOrder
getByteOrder()
double
getDouble(long address)
int
getInt(long address)
long
getLong(long address)
short
getShort(long address)
int
getUnsignedShort(long address)
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface java.lang.Comparable
compareTo
-
Methods declared in interface com.ibm.j9ddr.corereaders.memory.IMemoryRange
contains, getAddressSpaceId, getBaseAddress, getName, getSize, getTopAddress, isExecutable, isReadOnly, isShared, isSubRange, overlaps
-
Methods declared in interface com.ibm.j9ddr.corereaders.memory.IMemorySource
getBytes, isBacked
-
-
-
-
Constructor Detail
-
BufferedMemorySource
public BufferedMemorySource(long address, ByteBuffer source)
-
-
Method Detail
-
getUnsignedShort
public int getUnsignedShort(long address) throws MemoryFault
- Throws:
MemoryFault
-
getShort
public short getShort(long address) throws MemoryFault
- Throws:
MemoryFault
-
getInt
public int getInt(long address) throws MemoryFault
- Throws:
MemoryFault
-
getDouble
public double getDouble(long address) throws MemoryFault
- Throws:
MemoryFault
-
getLong
public long getLong(long address) throws MemoryFault
- Throws:
MemoryFault
-
getByte
public byte getByte(long address) throws MemoryFault
- Throws:
MemoryFault
-
getByteOrder
public ByteOrder getByteOrder()
-
-