Module openj9.dtfj

Interface IMemorySource

    • Method Detail

      • getBytes

        int getBytes​(long address,
                     byte[] buffer,
                     int offset,
                     int length)
              throws MemoryFault
        Reads data from the memory range
        Parameters:
        address - Starting address
        buffer - Buffer to read into
        offset - Offset in buffer to write to
        length - Number of bytes to read
        Returns:
        Bytes read
        Throws:
        MemoryFault
      • isBacked

        boolean isBacked()
        Specified by:
        isBacked in interface IMemoryRange
        Returns:
        True if this memory range is backed with data (such that getBytes() won't always throw MemoryFault).