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, overlapsMethods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods declared in interface java.lang.Comparable
compareToMethods 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:
getAddressSpaceIdin interfaceIMemoryRange- Returns:
- Address space ID that this range belongs to.
-
getName
- Specified by:
getNamein interfaceIMemoryRange- Returns:
- Name of this range (e.g. .text or stack), or null if range is unnamed.
-
isExecutable
public boolean isExecutable()- Specified by:
isExecutablein interfaceIMemoryRange
-
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnlyin interfaceIMemoryRange
-