@NonnullDefault
See: Description
| Interface | Description |
|---|---|
| ExtentAllocI |
Instances of this interface may be set to the
ExtentHooks struct. |
| ExtentCommitI |
Instances of this interface may be set to the
ExtentHooks struct. |
| ExtentDallocI |
Instances of this interface may be set to the
ExtentHooks struct. |
| ExtentDecommitI |
Instances of this interface may be set to the
ExtentHooks struct. |
| ExtentDestroyI |
Instances of this interface may be set to the
ExtentHooks struct. |
| ExtentMergeI |
Instances of this interface may be set to the
ExtentHooks struct. |
| ExtentPurgeI |
Instances of this interface may be set to the
ExtentHooks struct. |
| ExtentSplitI |
Instances of this interface may be set to the
ExtentHooks struct. |
| MallocMessageCallbackI |
Instances of this interface may be passed to the
malloc_usable_size method. |
| Class | Description |
|---|---|
| ExtentAlloc |
Instances of this class may be set to the
ExtentHooks struct. |
| ExtentCommit |
Instances of this class may be set to the
ExtentHooks struct. |
| ExtentDalloc |
Instances of this class may be set to the
ExtentHooks struct. |
| ExtentDecommit |
Instances of this class may be set to the
ExtentHooks struct. |
| ExtentDestroy |
Instances of this class may be set to the
ExtentHooks struct. |
| ExtentHooks |
The
extent_hooks_t structure comprises function pointers which are described individually below. |
| ExtentMerge |
Instances of this class may be set to the
ExtentHooks struct. |
| ExtentPurge |
Instances of this class may be set to the
ExtentHooks struct. |
| ExtentSplit |
Instances of this class may be set to the
ExtentHooks struct. |
| JEmalloc |
Native bindings to jemalloc.
|
| JEmalloc.Functions |
Contains the function pointers loaded from the jemalloc
SharedLibrary. |
| JEmallocAllocator |
A
MemoryUtil.MemoryAllocator implementation using the jemalloc library. |
| MallocMessageCallback |
Instances of this class may be passed to the
malloc_usable_size method. |
The jemalloc documentation can be found here. The jemalloc wiki also contains useful information.
The jemalloc shared library that comes with LWJGL is configured with:
The shared library may be replaced with a custom build that has more features enabled.
Dynamic configuration (for enabled features) is also possible, using either the MALLOC_CONF environment variable or the
MALLCTL NAMESPACE and the mallctl* functions.
Copyright LWJGL. All Rights Reserved. License terms.