java.lang.Object
com.ibm.j9ddr.corereaders.memory.BaseMemoryRange
com.ibm.j9ddr.corereaders.memory.MemoryRange
- All Implemented Interfaces:
IMemoryRange
,Comparable<IMemoryRange>
Simple memory range class.
-
Field Summary
Fields declared in class com.ibm.j9ddr.corereaders.memory.BaseMemoryRange
baseAddress, size
-
Constructor Summary
ConstructorsConstructorDescriptionMemoryRange
(IAddressSpace addressSpace, long baseAddress, long size, String name) MemoryRange
(IAddressSpace addressSpace, IMemoryRange range, String name) Constructor to build a memory range with the same base and size as an existing memory range, but with a different name -
Method Summary
Methods declared in class com.ibm.j9ddr.corereaders.memory.BaseMemoryRange
compareTo, contains, getBaseAddress, getSize, getTopAddress, isBacked, isSubRange, overlaps
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, getBaseAddress, getSize, getTopAddress, isBacked, isSubRange, overlaps
-
Constructor Details
-
MemoryRange
-
MemoryRange
Constructor to build a memory range with the same base and size as an existing memory range, but with a different name
-
-
Method Details
-
getAddressSpaceId
public int getAddressSpaceId()- Specified by:
getAddressSpaceId
in interfaceIMemoryRange
- Returns:
- Address space ID that this range belongs to.
-
getName
- Specified by:
getName
in interfaceIMemoryRange
- Returns:
- Name of this range (e.g. .text or stack), or null if range is unnamed.
-
isExecutable
public boolean isExecutable()- Specified by:
isExecutable
in interfaceIMemoryRange
-
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnly
in interfaceIMemoryRange
-