Package org.lwjgl.system.jemalloc
Interface ChunkSplitI
-
- All Superinterfaces:
- CallbackI, CallbackI.Z, Pointer
- All Known Implementing Classes:
- ChunkSplit
@FunctionalInterface public interface ChunkSplitI extends CallbackI.Z
Instances of this interface may be set to theChunkHooksstruct.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.CallbackI
CallbackI.B, CallbackI.D, CallbackI.F, CallbackI.I, CallbackI.J, CallbackI.P, CallbackI.S, CallbackI.V, CallbackI.Z
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method and Description default longaddress()Returns the raw pointer address as alongvalue.default booleancallback(long args)Will be called by native code.booleaninvoke(long chunk, long size, long size_a, long size_b, boolean committed, int arena_ind)Chunk split hook.
-
-
-
Method Detail
-
address
default long address()
Description copied from interface:PointerReturns the raw pointer address as alongvalue.
-
callback
default boolean callback(long args)
Description copied from interface:CallbackI.ZWill be called by native code.- Specified by:
callbackin interfaceCallbackI.Z- Parameters:
args- pointer to aDCArgsiterator- Returns:
- the value to store to the result
DCValue
-
invoke
boolean invoke(long chunk, long size, long size_a, long size_b, boolean committed, int arena_ind)Chunk split hook.- Parameters:
chunk-size-size_a-size_b-committed-arena_ind-
-
-