Class TransientNativeMemory

    • Method Detail

      • allocate

        public static DirectMemoryIO allocate​(Runtime runtime,
                                              int size,
                                              int align,
                                              boolean clear)
      • align

        private static long align​(long offset,
                                  long align)
      • size

        public long size()
        Description copied from class: Pointer
        Gets the size of this memory object in bytes (optional operation).
        Overrides:
        size in class DirectMemoryIO
        Returns:
        the size of the memory area this Pointer points to. If the size is unknown, Long.MAX_VALUE is returned}.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class DirectMemoryIO
      • dispose

        public final void dispose()