Module openj9.dtfj

Class MemoryRange

java.lang.Object
com.ibm.j9ddr.corereaders.memory.BaseMemoryRange
com.ibm.j9ddr.corereaders.memory.MemoryRange
All Implemented Interfaces:
IMemoryRange, Comparable<IMemoryRange>

public class MemoryRange extends BaseMemoryRange implements IMemoryRange
Simple memory range class.
  • Constructor Details

    • MemoryRange

      public MemoryRange(IAddressSpace addressSpace, long baseAddress, long size, String name)
    • MemoryRange

      public 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 Details

    • getAddressSpaceId

      public int getAddressSpaceId()
      Specified by:
      getAddressSpaceId in interface IMemoryRange
      Returns:
      Address space ID that this range belongs to.
    • getName

      public String getName()
      Specified by:
      getName in interface IMemoryRange
      Returns:
      Name of this range (e.g. .text or stack), or null if range is unnamed.
    • isExecutable

      public boolean isExecutable()
      Specified by:
      isExecutable in interface IMemoryRange
    • isReadOnly

      public boolean isReadOnly()
      Specified by:
      isReadOnly in interface IMemoryRange
    • isShared

      public boolean isShared()
      Specified by:
      isShared in interface IMemoryRange