Class UnsafeMemoryIO.UnsafeMemoryIO64

  • Enclosing class:
    UnsafeMemoryIO

    static class UnsafeMemoryIO.UnsafeMemoryIO64
    extends UnsafeMemoryIO
    A 64 bit optimized implementation of MemoryIO using sun.misc.Unsafe
    • Constructor Detail

      • UnsafeMemoryIO64

        UnsafeMemoryIO64()
    • Method Detail

      • getAddress

        public final long getAddress​(long address)
        Description copied from class: MemoryIO
        Reads a native memory address from a native memory location.
        Specified by:
        getAddress in class MemoryIO
        Parameters:
        address - The memory location to get the value from.
        Returns:
        A long containing the value.
      • putAddress

        public final void putAddress​(long address,
                                     long value)
        Description copied from class: MemoryIO
        Writes a native memory address value to a native memory location.
        Specified by:
        putAddress in class MemoryIO
        Parameters:
        address - The memory location to put the value.
        value - The value to write to memory.