Package org.lwjgl.system.jemalloc
@NullMarked
package org.lwjgl.system.jemalloc
Contains bindings to the jemalloc library. jemalloc is a general purpose malloc implementation that emphasizes
fragmentation avoidance and scalable concurrency support.
The jemalloc shared library that comes with LWJGL is configured with:
- --with-jemalloc-prefix=je_
- --enable-lazy-lock=no (FreeBSD)
- --disable-stats
- --disable-fill
- --disable-cxx
- --disable-initial-exec-tls (FreeBSD, Linux & macOS)
- --disable-zone-allocator (macOS)
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.
Resources
-
ClassDescriptionCallback function:
extent_alloc_tCallback function:extent_alloc_tCallback function:extent_commit_tCallback function:extent_commit_tCallback function:extent_dalloc_tCallback function:extent_dalloc_tCallback function:extent_decommit_tCallback function:extent_decommit_tCallback function:extent_destroy_tCallback function:extent_destroy_tstruct extent_hooks_t {extent_alloc_talloc;extent_dalloc_tdalloc;extent_destroy_tdestroy;extent_commit_tcommit;extent_decommit_tdecommit;extent_purge_tpurge_lazy;extent_purge_tpurge_forced;extent_split_tsplit;extent_merge_tmerge; }Callback function:extent_merge_tCallback function:extent_merge_tCallback function:extent_purge_tCallback function:extent_purge_tCallback function:extent_split_tCallback function:extent_split_tContains the function pointers loaded from the jemallocSharedLibrary.Callback function:(* anonymous)Callback function:(* anonymous)