Module openj9.dtfj

Interface IMemory

All Known Subinterfaces:
IAddressSpace, IProcess
All Known Implementing Classes:
AbstractMemory, ASNoProcess, BufferedMemory, LinuxProcessAddressSpace, OSXProcessAddressSpace, ProcessAddressSpace, SearchableMemory, WindowsProcessAddressSpace

public interface IMemory
Common interface representing an area of addressable memory.
  • Method Details

    • getMemoryRanges

      Collection<? extends IMemoryRange> getMemoryRanges()
    • getByteAt

      byte getByteAt(long address) throws MemoryFault
      Throws:
      MemoryFault
    • getShortAt

      short getShortAt(long address) throws MemoryFault
      Throws:
      MemoryFault
    • getIntAt

      int getIntAt(long address) throws MemoryFault
      Throws:
      MemoryFault
    • getLongAt

      long getLongAt(long address) throws MemoryFault
      Throws:
      MemoryFault
    • getBytesAt

      int getBytesAt(long address, byte[] buffer) throws MemoryFault
      Throws:
      MemoryFault
    • getBytesAt

      int getBytesAt(long address, byte[] buffer, int offset, int length) throws MemoryFault
      Throws:
      MemoryFault
    • findPattern

      long findPattern(byte[] whatBytes, int alignment, long startFrom)
    • getByteOrder

      ByteOrder getByteOrder()
    • isExecutable

      boolean isExecutable(long address)
    • isReadOnly

      boolean isReadOnly(long address)
    • isShared

      boolean isShared(long address)
    • getProperties

      Properties getProperties(long address)
    • getPlatform

      Platform getPlatform()