Interface MemorySegmentPool

    • Method Detail

      • pageSize

        int pageSize()
        Get the page size of each page this pool holds.
        Returns:
        the page size
      • returnAll

        void returnAll​(List<MemorySegment> memory)
        Return all pages back into this pool.
        Parameters:
        memory - the pages which want to be returned.
      • freePages

        int freePages()
        Returns:
        Free page number.