Package org.lwjgl.system.rpmalloc
Class RPmalloc
java.lang.Object
org.lwjgl.system.rpmalloc.RPmalloc
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionstatic longnrpaligned_alloc(long alignment, long size) void * rpaligned_alloc(size_t alignment, size_t size)static longnrpaligned_calloc(long alignment, long num, long size) void * rpaligned_calloc(size_t alignment, size_t num, size_t size)static longnrpaligned_realloc(long ptr, long alignment, long size, long oldsize, int flags) void * rpaligned_realloc(void * ptr, size_t alignment, size_t size, size_t oldsize, unsigned int flags)static longnrpcalloc(long num, long size) void * rpcalloc(size_t num, size_t size)static voidnrpfree(long ptr) void rpfree(void * ptr)static longnrpmalloc(long size) void * rpmalloc(size_t size)static longrpmalloc_config_t const * rpmalloc_config(void)static longnrpmalloc_get_heap_for_ptr(long ptr) rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)static voidnrpmalloc_global_statistics(long stats) void rpmalloc_global_statistics(rpmalloc_global_statistics_t * stats)static longnrpmalloc_heap_aligned_alloc(long heap, long alignment, long size) void * rpmalloc_heap_aligned_alloc(rpmalloc_heap_t * heap, size_t alignment, size_t size)static longnrpmalloc_heap_aligned_calloc(long heap, long alignment, long num, long size) void * rpmalloc_heap_aligned_calloc(rpmalloc_heap_t * heap, size_t alignment, size_t num, size_t size)static longnrpmalloc_heap_aligned_realloc(long heap, long ptr, long alignment, long size, int flags) void * rpmalloc_heap_aligned_realloc(rpmalloc_heap_t * heap, void * ptr, size_t alignment, size_t size, unsigned int flags)static longnrpmalloc_heap_alloc(long heap, long size) void * rpmalloc_heap_alloc(rpmalloc_heap_t * heap, size_t size)static longnrpmalloc_heap_calloc(long heap, long num, long size) void * rpmalloc_heap_calloc(rpmalloc_heap_t * heap, size_t num, size_t size)static voidnrpmalloc_heap_free(long heap, long ptr) void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)static voidnrpmalloc_heap_free_all(long heap) void rpmalloc_heap_free_all(rpmalloc_heap_t * heap)static longnrpmalloc_heap_realloc(long heap, long ptr, long size, int flags) void * rpmalloc_heap_realloc(rpmalloc_heap_t * heap, void * ptr, size_t size, unsigned int flags)static intint rpmalloc_initialize(void)static intnrpmalloc_initialize_config(long config) int rpmalloc_initialize_config(rpmalloc_config_t const * config)static intint rpmalloc_is_thread_initialized(void)static voidnrpmalloc_thread_finalize(int release_caches) void rpmalloc_thread_finalize(int release_caches)static voidnrpmalloc_thread_statistics(long stats) void rpmalloc_thread_statistics(rpmalloc_thread_statistics_t * stats)static longnrpmalloc_usable_size(long ptr) size_t rpmalloc_usable_size(void * ptr)static longnrpmemalign(long alignment, long size) void * rpmemalign(size_t alignment, size_t size)static intnrpposix_memalign(long memptr, long alignment, long size) int rpposix_memalign(void ** memptr, size_t alignment, size_t size)static longnrprealloc(long ptr, long size) void * rprealloc(void * ptr, size_t size)static @Nullable ByteBufferrpaligned_alloc(long alignment, long size) void * rpaligned_alloc(size_t alignment, size_t size)static @Nullable ByteBufferrpaligned_calloc(long alignment, long num, long size) void * rpaligned_calloc(size_t alignment, size_t num, size_t size)static @Nullable ByteBufferrpaligned_realloc(@Nullable ByteBuffer ptr, long alignment, long size, int flags) void * rpaligned_realloc(void * ptr, size_t alignment, size_t size, size_t oldsize, unsigned int flags)static @Nullable ByteBufferrpcalloc(long num, long size) void * rpcalloc(size_t num, size_t size)static voidrpfree(@Nullable ByteBuffer ptr) void rpfree(void * ptr)static voidrpfree(@Nullable DoubleBuffer ptr) void rpfree(void * ptr)static voidrpfree(@Nullable FloatBuffer ptr) void rpfree(void * ptr)static voidvoid rpfree(void * ptr)static voidrpfree(@Nullable LongBuffer ptr) void rpfree(void * ptr)static voidrpfree(@Nullable ShortBuffer ptr) void rpfree(void * ptr)static voidrpfree(@Nullable PointerBuffer ptr) void rpfree(void * ptr)static @Nullable ByteBufferrpmalloc(long size) void * rpmalloc(size_t size)static RPMallocConfigrpmalloc_config_t const * rpmalloc_config(void)static voidvoid rpmalloc_finalize(void)static longrpmalloc_get_heap_for_ptr(@Nullable ByteBuffer ptr) rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)static longrpmalloc_get_heap_for_ptr(@Nullable DoubleBuffer ptr) rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)static longrpmalloc_get_heap_for_ptr(@Nullable FloatBuffer ptr) rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)static longrpmalloc_get_heap_for_ptr(@Nullable IntBuffer ptr) rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)static longrpmalloc_get_heap_for_ptr(@Nullable LongBuffer ptr) rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)static longrpmalloc_get_heap_for_ptr(@Nullable ShortBuffer ptr) rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)static longrpmalloc_get_heap_for_ptr(@Nullable PointerBuffer ptr) rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)static voidvoid rpmalloc_global_statistics(rpmalloc_global_statistics_t * stats)static longrpmalloc_heap_t * rpmalloc_heap_acquire(void)static @Nullable ByteBufferrpmalloc_heap_aligned_alloc(long heap, long alignment, long size) void * rpmalloc_heap_aligned_alloc(rpmalloc_heap_t * heap, size_t alignment, size_t size)static @Nullable ByteBufferrpmalloc_heap_aligned_calloc(long heap, long alignment, long num, long size) void * rpmalloc_heap_aligned_calloc(rpmalloc_heap_t * heap, size_t alignment, size_t num, size_t size)static @Nullable ByteBufferrpmalloc_heap_aligned_realloc(long heap, @Nullable ByteBuffer ptr, long alignment, long size, int flags) void * rpmalloc_heap_aligned_realloc(rpmalloc_heap_t * heap, void * ptr, size_t alignment, size_t size, unsigned int flags)static @Nullable ByteBufferrpmalloc_heap_alloc(long heap, long size) void * rpmalloc_heap_alloc(rpmalloc_heap_t * heap, size_t size)static @Nullable ByteBufferrpmalloc_heap_calloc(long heap, long num, long size) void * rpmalloc_heap_calloc(rpmalloc_heap_t * heap, size_t num, size_t size)static voidrpmalloc_heap_free(long heap, @Nullable ByteBuffer ptr) void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)static voidrpmalloc_heap_free(long heap, @Nullable DoubleBuffer ptr) void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)static voidrpmalloc_heap_free(long heap, @Nullable FloatBuffer ptr) void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)static voidrpmalloc_heap_free(long heap, @Nullable IntBuffer ptr) void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)static voidrpmalloc_heap_free(long heap, @Nullable LongBuffer ptr) void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)static voidrpmalloc_heap_free(long heap, @Nullable ShortBuffer ptr) void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)static voidrpmalloc_heap_free(long heap, @Nullable PointerBuffer ptr) void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr)static voidrpmalloc_heap_free_all(long heap) void rpmalloc_heap_free_all(rpmalloc_heap_t * heap)static @Nullable ByteBufferrpmalloc_heap_realloc(long heap, @Nullable ByteBuffer ptr, long size, int flags) void * rpmalloc_heap_realloc(rpmalloc_heap_t * heap, void * ptr, size_t size, unsigned int flags)static voidrpmalloc_heap_release(long heap) void rpmalloc_heap_release(rpmalloc_heap_t * heap)static voidrpmalloc_heap_thread_set_current(long heap) void rpmalloc_heap_thread_set_current(rpmalloc_heap_t * heap)static booleanint rpmalloc_initialize(void)static booleanrpmalloc_initialize_config(@Nullable RPMallocConfig config) int rpmalloc_initialize_config(rpmalloc_config_t const * config)static booleanint rpmalloc_is_thread_initialized(void)static voidvoid rpmalloc_thread_collect(void)static voidrpmalloc_thread_finalize(boolean release_caches) void rpmalloc_thread_finalize(int release_caches)static voidvoid rpmalloc_thread_initialize(void)static voidvoid rpmalloc_thread_statistics(rpmalloc_thread_statistics_t * stats)static longsize_t rpmalloc_usable_size(void * ptr)static longsize_t rpmalloc_usable_size(void * ptr)static longsize_t rpmalloc_usable_size(void * ptr)static longsize_t rpmalloc_usable_size(void * ptr)static longsize_t rpmalloc_usable_size(void * ptr)static longsize_t rpmalloc_usable_size(void * ptr)static longsize_t rpmalloc_usable_size(void * ptr)static @Nullable ByteBufferrpmemalign(long alignment, long size) void * rpmemalign(size_t alignment, size_t size)static intrpposix_memalign(PointerBuffer memptr, long alignment, long size) int rpposix_memalign(void ** memptr, size_t alignment, size_t size)static @Nullable ByteBufferrprealloc(@Nullable ByteBuffer ptr, long size) void * rprealloc(void * ptr, size_t size)
-
Field Details
-
RPMALLOC_NO_PRESERVE
public static final int RPMALLOC_NO_PRESERVE- See Also:
-
RPMALLOC_GROW_OR_FAIL
public static final int RPMALLOC_GROW_OR_FAIL- See Also:
-
-
Method Details
-
nrpmalloc_initialize
public static int nrpmalloc_initialize()int rpmalloc_initialize(void) -
rpmalloc_initialize
public static boolean rpmalloc_initialize()int rpmalloc_initialize(void) -
nrpmalloc_initialize_config
public static int nrpmalloc_initialize_config(long config) int rpmalloc_initialize_config(rpmalloc_config_t const * config) -
rpmalloc_initialize_config
int rpmalloc_initialize_config(rpmalloc_config_t const * config) -
nrpmalloc_config
public static long nrpmalloc_config()rpmalloc_config_t const * rpmalloc_config(void) -
rpmalloc_config
rpmalloc_config_t const * rpmalloc_config(void) -
rpmalloc_finalize
public static void rpmalloc_finalize()void rpmalloc_finalize(void) -
rpmalloc_thread_initialize
public static void rpmalloc_thread_initialize()void rpmalloc_thread_initialize(void) -
nrpmalloc_thread_finalize
public static void nrpmalloc_thread_finalize(int release_caches) void rpmalloc_thread_finalize(int release_caches) -
rpmalloc_thread_finalize
public static void rpmalloc_thread_finalize(boolean release_caches) void rpmalloc_thread_finalize(int release_caches) -
rpmalloc_thread_collect
public static void rpmalloc_thread_collect()void rpmalloc_thread_collect(void) -
nrpmalloc_is_thread_initialized
public static int nrpmalloc_is_thread_initialized()int rpmalloc_is_thread_initialized(void) -
rpmalloc_is_thread_initialized
public static boolean rpmalloc_is_thread_initialized()int rpmalloc_is_thread_initialized(void) -
nrpmalloc_thread_statistics
public static void nrpmalloc_thread_statistics(long stats) void rpmalloc_thread_statistics(rpmalloc_thread_statistics_t * stats) -
rpmalloc_thread_statistics
void rpmalloc_thread_statistics(rpmalloc_thread_statistics_t * stats) -
nrpmalloc_global_statistics
public static void nrpmalloc_global_statistics(long stats) void rpmalloc_global_statistics(rpmalloc_global_statistics_t * stats) -
rpmalloc_global_statistics
void rpmalloc_global_statistics(rpmalloc_global_statistics_t * stats) -
nrpmalloc
public static long nrpmalloc(long size) void * rpmalloc(size_t size) -
rpmalloc
void * rpmalloc(size_t size) -
nrpfree
public static void nrpfree(long ptr) void rpfree(void * ptr) -
rpfree
void rpfree(void * ptr) -
rpfree
void rpfree(void * ptr) -
rpfree
void rpfree(void * ptr) -
rpfree
void rpfree(void * ptr) -
rpfree
void rpfree(void * ptr) -
rpfree
void rpfree(void * ptr) -
rpfree
void rpfree(void * ptr) -
nrpcalloc
public static long nrpcalloc(long num, long size) void * rpcalloc(size_t num, size_t size) -
rpcalloc
void * rpcalloc(size_t num, size_t size) -
nrprealloc
public static long nrprealloc(long ptr, long size) void * rprealloc(void * ptr, size_t size) -
rprealloc
void * rprealloc(void * ptr, size_t size) -
nrpaligned_realloc
public static long nrpaligned_realloc(long ptr, long alignment, long size, long oldsize, int flags) void * rpaligned_realloc(void * ptr, size_t alignment, size_t size, size_t oldsize, unsigned int flags) -
rpaligned_realloc
public static @Nullable ByteBuffer rpaligned_realloc(@Nullable ByteBuffer ptr, long alignment, long size, int flags) void * rpaligned_realloc(void * ptr, size_t alignment, size_t size, size_t oldsize, unsigned int flags) -
nrpaligned_alloc
public static long nrpaligned_alloc(long alignment, long size) void * rpaligned_alloc(size_t alignment, size_t size) -
rpaligned_alloc
void * rpaligned_alloc(size_t alignment, size_t size) -
nrpaligned_calloc
public static long nrpaligned_calloc(long alignment, long num, long size) void * rpaligned_calloc(size_t alignment, size_t num, size_t size) -
rpaligned_calloc
void * rpaligned_calloc(size_t alignment, size_t num, size_t size) -
nrpmemalign
public static long nrpmemalign(long alignment, long size) void * rpmemalign(size_t alignment, size_t size) -
rpmemalign
void * rpmemalign(size_t alignment, size_t size) -
nrpposix_memalign
public static int nrpposix_memalign(long memptr, long alignment, long size) int rpposix_memalign(void ** memptr, size_t alignment, size_t size) -
rpposix_memalign
int rpposix_memalign(void ** memptr, size_t alignment, size_t size) -
nrpmalloc_usable_size
public static long nrpmalloc_usable_size(long ptr) size_t rpmalloc_usable_size(void * ptr) -
rpmalloc_usable_size
size_t rpmalloc_usable_size(void * ptr) -
rpmalloc_usable_size
size_t rpmalloc_usable_size(void * ptr) -
rpmalloc_usable_size
size_t rpmalloc_usable_size(void * ptr) -
rpmalloc_usable_size
size_t rpmalloc_usable_size(void * ptr) -
rpmalloc_usable_size
size_t rpmalloc_usable_size(void * ptr) -
rpmalloc_usable_size
size_t rpmalloc_usable_size(void * ptr) -
rpmalloc_usable_size
size_t rpmalloc_usable_size(void * ptr) -
rpmalloc_heap_acquire
public static long rpmalloc_heap_acquire()rpmalloc_heap_t * rpmalloc_heap_acquire(void) -
rpmalloc_heap_release
public static void rpmalloc_heap_release(long heap) void rpmalloc_heap_release(rpmalloc_heap_t * heap) -
nrpmalloc_heap_alloc
public static long nrpmalloc_heap_alloc(long heap, long size) void * rpmalloc_heap_alloc(rpmalloc_heap_t * heap, size_t size) -
rpmalloc_heap_alloc
void * rpmalloc_heap_alloc(rpmalloc_heap_t * heap, size_t size) -
nrpmalloc_heap_aligned_alloc
public static long nrpmalloc_heap_aligned_alloc(long heap, long alignment, long size) void * rpmalloc_heap_aligned_alloc(rpmalloc_heap_t * heap, size_t alignment, size_t size) -
rpmalloc_heap_aligned_alloc
public static @Nullable ByteBuffer rpmalloc_heap_aligned_alloc(long heap, long alignment, long size) void * rpmalloc_heap_aligned_alloc(rpmalloc_heap_t * heap, size_t alignment, size_t size) -
nrpmalloc_heap_calloc
public static long nrpmalloc_heap_calloc(long heap, long num, long size) void * rpmalloc_heap_calloc(rpmalloc_heap_t * heap, size_t num, size_t size) -
rpmalloc_heap_calloc
void * rpmalloc_heap_calloc(rpmalloc_heap_t * heap, size_t num, size_t size) -
nrpmalloc_heap_aligned_calloc
public static long nrpmalloc_heap_aligned_calloc(long heap, long alignment, long num, long size) void * rpmalloc_heap_aligned_calloc(rpmalloc_heap_t * heap, size_t alignment, size_t num, size_t size) -
rpmalloc_heap_aligned_calloc
public static @Nullable ByteBuffer rpmalloc_heap_aligned_calloc(long heap, long alignment, long num, long size) void * rpmalloc_heap_aligned_calloc(rpmalloc_heap_t * heap, size_t alignment, size_t num, size_t size) -
nrpmalloc_heap_realloc
public static long nrpmalloc_heap_realloc(long heap, long ptr, long size, int flags) void * rpmalloc_heap_realloc(rpmalloc_heap_t * heap, void * ptr, size_t size, unsigned int flags) -
rpmalloc_heap_realloc
public static @Nullable ByteBuffer rpmalloc_heap_realloc(long heap, @Nullable ByteBuffer ptr, long size, int flags) void * rpmalloc_heap_realloc(rpmalloc_heap_t * heap, void * ptr, size_t size, unsigned int flags) -
nrpmalloc_heap_aligned_realloc
public static long nrpmalloc_heap_aligned_realloc(long heap, long ptr, long alignment, long size, int flags) void * rpmalloc_heap_aligned_realloc(rpmalloc_heap_t * heap, void * ptr, size_t alignment, size_t size, unsigned int flags) -
rpmalloc_heap_aligned_realloc
public static @Nullable ByteBuffer rpmalloc_heap_aligned_realloc(long heap, @Nullable ByteBuffer ptr, long alignment, long size, int flags) void * rpmalloc_heap_aligned_realloc(rpmalloc_heap_t * heap, void * ptr, size_t alignment, size_t size, unsigned int flags) -
nrpmalloc_heap_free
public static void nrpmalloc_heap_free(long heap, long ptr) void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr) -
rpmalloc_heap_free
void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr) -
rpmalloc_heap_free
void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr) -
rpmalloc_heap_free
void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr) -
rpmalloc_heap_free
void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr) -
rpmalloc_heap_free
void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr) -
rpmalloc_heap_free
void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr) -
rpmalloc_heap_free
void rpmalloc_heap_free(rpmalloc_heap_t * heap, void * ptr) -
nrpmalloc_heap_free_all
public static void nrpmalloc_heap_free_all(long heap) void rpmalloc_heap_free_all(rpmalloc_heap_t * heap) -
rpmalloc_heap_free_all
public static void rpmalloc_heap_free_all(long heap) void rpmalloc_heap_free_all(rpmalloc_heap_t * heap) -
rpmalloc_heap_thread_set_current
public static void rpmalloc_heap_thread_set_current(long heap) void rpmalloc_heap_thread_set_current(rpmalloc_heap_t * heap) -
nrpmalloc_get_heap_for_ptr
public static long nrpmalloc_get_heap_for_ptr(long ptr) rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr) -
rpmalloc_get_heap_for_ptr
rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr) -
rpmalloc_get_heap_for_ptr
rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr) -
rpmalloc_get_heap_for_ptr
rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr) -
rpmalloc_get_heap_for_ptr
rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr) -
rpmalloc_get_heap_for_ptr
rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr) -
rpmalloc_get_heap_for_ptr
rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr) -
rpmalloc_get_heap_for_ptr
rpmalloc_heap_t * rpmalloc_get_heap_for_ptr(void * ptr)
-