Package org.jruby.ext.ffi.jffi
Class CachingNativeMemoryAllocator.AllocationGroup
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.WeakReference<T>
jnr.ffi.util.ref.FinalizableWeakReference<Object>
org.jruby.ext.ffi.jffi.CachingNativeMemoryAllocator.AllocationGroup
- All Implemented Interfaces:
jnr.ffi.util.ref.FinalizableReference
- Enclosing class:
- CachingNativeMemoryAllocator
private static final class CachingNativeMemoryAllocator.AllocationGroup
extends jnr.ffi.util.ref.FinalizableWeakReference<Object>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAllocationGroup(CachingNativeMemoryAllocator.Magazine magazine, Object sentinel) -
Method Summary
Modifier and TypeMethodDescription(package private) CachingNativeMemoryAllocator.MemoryAllocationallocate(boolean clear) voidMethods inherited from class java.lang.ref.Reference
clear, clone, enqueue, get, isEnqueued, reachabilityFence, refersTo
-
Field Details
-
magazine
-
-
Constructor Details
-
AllocationGroup
AllocationGroup(CachingNativeMemoryAllocator.Magazine magazine, Object sentinel)
-
-
Method Details
-
allocate
-
finalizeReferent
public void finalizeReferent()
-