A C F G M R S
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AllocationFailedException - Exception in com.github.marschall.nativebytebuffers
-
Signals a memory allocation has failed.
C
- com.github.marschall.nativebytebuffers - package com.github.marschall.nativebytebuffers
F
- free(ByteBuffer) - Static method in class com.github.marschall.nativebytebuffers.Stdlib
-
Calls
free()
on the contents of the givenByteBuffer
.
G
- getpagesize() - Static method in class com.github.marschall.nativebytebuffers.Mman
-
Returns the number of bytes in a memory page, where "page" is a fixed-length block, the unit for memory allocation and file mapping performed by
mmap(int, int)
.
M
- malloc(int) - Static method in class com.github.marschall.nativebytebuffers.Stdlib
-
Calls
malloc()
and wraps the result in aByteBuffer
- MAP_32BIT - Static variable in class com.github.marschall.nativebytebuffers.MmapFlags
-
Put the mapping into the first 2 Gigabytes of the process address space.
- MAP_ANONYMOUS - Static variable in class com.github.marschall.nativebytebuffers.MmapFlags
-
The mapping is not backed by any file; its contents are initialized to zero.
- MAP_GROWSDOWN - Static variable in class com.github.marschall.nativebytebuffers.MmapFlags
-
This flag is used for stacks.
- MAP_HUGE_1GB - Static variable in class com.github.marschall.nativebytebuffers.MmapFlags
-
Used in conjunction with MAP_HUGETLB to select alternative hugetlb page sizes (1 GB) on systems that support multiple hugetlb page sizes.
- MAP_HUGE_2MB - Static variable in class com.github.marschall.nativebytebuffers.MmapFlags
-
Used in conjunction with MAP_HUGETLB to select alternative hugetlb page sizes (2 MB) on systems that support multiple hugetlb page sizes.
- MAP_HUGE_SHIFT - Static variable in class com.github.marschall.nativebytebuffers.MmapFlags
-
More generally, the desired huge page size can be configured by encoding the base-2 logarithm of the desired page size in the six bits at the offset MAP_HUGE_SHIFT.
- MAP_HUGETLB - Static variable in class com.github.marschall.nativebytebuffers.MmapFlags
-
Allocate the mapping using "huge pages." See the Linux kernel source file Documentation/vm/hugetlbpage.txt for further information, as well as NOTES, below.
- MAP_LOCKED - Static variable in class com.github.marschall.nativebytebuffers.MmapFlags
-
Mark the mmaped region to be locked in the same way as mlock(2).
- MAP_NONBLOCK - Static variable in class com.github.marschall.nativebytebuffers.MmapFlags
-
This flag is meaningful only in conjunction with MAP_POPULATE.
- MAP_NORESERVE - Static variable in class com.github.marschall.nativebytebuffers.MmapFlags
-
Do not reserve swap space for this mapping.
- MAP_POPULATE - Static variable in class com.github.marschall.nativebytebuffers.MmapFlags
-
Populate (prefault) page tables for a mapping.
- MAP_SHARED - Static variable in class com.github.marschall.nativebytebuffers.MmapFlags
-
Share this mapping.
- MAP_STACK - Static variable in class com.github.marschall.nativebytebuffers.MmapFlags
-
Allocate the mapping at an address suitable for a process or thread stack.
- MemoryManagementException - Exception in com.github.marschall.nativebytebuffers
-
Abstract base class for memory management exceptions.
- Mman - Class in com.github.marschall.nativebytebuffers
-
Provides access to memory management using
sys/mman.h
. - mmap(int) - Static method in class com.github.marschall.nativebytebuffers.Mman
-
Calls
mmap()
to create an anonymous shared virtual memory region and creates aByteBuffer
around it. - mmap(int, int) - Static method in class com.github.marschall.nativebytebuffers.Mman
-
Calls
mmap()
to create a virtual memory region and creates aByteBuffer
around it. - MmapFlags - Class in com.github.marschall.nativebytebuffers
-
Values that may be passed as the flags argument to
mmap(int, int)
. - munmap(ByteBuffer) - Static method in class com.github.marschall.nativebytebuffers.Mman
-
Calls
munmap()
on the contents of the givenByteBuffer
.
R
- ReleaseFailedException - Exception in com.github.marschall.nativebytebuffers
-
Signals a memory release has failed.
S
- Stdlib - Class in com.github.marschall.nativebytebuffers
-
Provides access to memory management using
stdlib.h
.
All Classes All Packages