Top Description Constructors Methods
org.lwjgl.system.jemalloc

public Class JEmallocAllocator

extends Object
implements MemoryAllocator
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.MemoryUtil.MemoryAllocator
Imports
org.lwjgl.system.MemoryUtil.*

A MemoryAllocator implementation using the jemalloc library.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public long
public void
public long
public void
public long
getAlignedAlloc()

Implements org.lwjgl.system.MemoryUtil.MemoryAllocator.getAlignedAlloc.

Returns a pointer to the aligned_alloc function.
public long
getAlignedFree()

Implements org.lwjgl.system.MemoryUtil.MemoryAllocator.getAlignedFree.

Returns a pointer to the aligned_free function.
public long
getCalloc()

Implements org.lwjgl.system.MemoryUtil.MemoryAllocator.getCalloc.

Returns a pointer to the calloc function.
public long
getFree()

Implements org.lwjgl.system.MemoryUtil.MemoryAllocator.getFree.

Returns a pointer to the free function.
public long
getMalloc()

Implements org.lwjgl.system.MemoryUtil.MemoryAllocator.getMalloc.

Returns a pointer to the malloc function.
public long
getRealloc()

Implements org.lwjgl.system.MemoryUtil.MemoryAllocator.getRealloc.

Returns a pointer to the realloc function.
public long
public long
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

JEmallocAllocatorback to summary
public JEmallocAllocator()

Method Detail

aligned_allocback to summary
public long aligned_alloc(long alignment, long size)

Implements org.lwjgl.system.MemoryUtil.MemoryAllocator.aligned_alloc.

Doc from org.lwjgl.system.MemoryUtil.MemoryAllocator.aligned_alloc.

Called by MemoryUtil#memAlignedAlloc.

Annotations
@Override
aligned_freeback to summary
public void aligned_free(long ptr)

Implements org.lwjgl.system.MemoryUtil.MemoryAllocator.aligned_free.

Doc from org.lwjgl.system.MemoryUtil.MemoryAllocator.aligned_free.

Called by MemoryUtil#memAlignedFree.

Annotations
@Override
callocback to summary
public long calloc(long num, long size)

Implements org.lwjgl.system.MemoryUtil.MemoryAllocator.calloc.

Doc from org.lwjgl.system.MemoryUtil.MemoryAllocator.calloc.

Called by MemoryUtil#memCalloc.

Annotations
@Override
freeback to summary
public void free(long ptr)

Implements org.lwjgl.system.MemoryUtil.MemoryAllocator.free.

Doc from org.lwjgl.system.MemoryUtil.MemoryAllocator.free.

Called by MemoryUtil#memFree.

Annotations
@Override
getAlignedAllocback to summary
public long getAlignedAlloc()

Implements org.lwjgl.system.MemoryUtil.MemoryAllocator.getAlignedAlloc.

Doc from org.lwjgl.system.MemoryUtil.MemoryAllocator.getAlignedAlloc.

Returns a pointer to the aligned_alloc function.

Annotations
@Override
getAlignedFreeback to summary
public long getAlignedFree()

Implements org.lwjgl.system.MemoryUtil.MemoryAllocator.getAlignedFree.

Doc from org.lwjgl.system.MemoryUtil.MemoryAllocator.getAlignedFree.

Returns a pointer to the aligned_free function.

Annotations
@Override
getCallocback to summary
public long getCalloc()

Implements org.lwjgl.system.MemoryUtil.MemoryAllocator.getCalloc.

Doc from org.lwjgl.system.MemoryUtil.MemoryAllocator.getCalloc.

Returns a pointer to the calloc function.

Annotations
@Override
getFreeback to summary
public long getFree()

Implements org.lwjgl.system.MemoryUtil.MemoryAllocator.getFree.

Doc from org.lwjgl.system.MemoryUtil.MemoryAllocator.getFree.

Returns a pointer to the free function.

Annotations
@Override
getMallocback to summary
public long getMalloc()

Implements org.lwjgl.system.MemoryUtil.MemoryAllocator.getMalloc.

Doc from org.lwjgl.system.MemoryUtil.MemoryAllocator.getMalloc.

Returns a pointer to the malloc function.

Annotations
@Override
getReallocback to summary
public long getRealloc()

Implements org.lwjgl.system.MemoryUtil.MemoryAllocator.getRealloc.

Doc from org.lwjgl.system.MemoryUtil.MemoryAllocator.getRealloc.

Returns a pointer to the realloc function.

Annotations
@Override
mallocback to summary
public long malloc(long size)

Implements org.lwjgl.system.MemoryUtil.MemoryAllocator.malloc.

Doc from org.lwjgl.system.MemoryUtil.MemoryAllocator.malloc.

Called by MemoryUtil#memAlloc.

Annotations
@Override
reallocback to summary
public long realloc(long ptr, long size)

Implements org.lwjgl.system.MemoryUtil.MemoryAllocator.realloc.

Doc from org.lwjgl.system.MemoryUtil.MemoryAllocator.realloc.

Called by MemoryUtil#memRealloc.

Annotations
@Override