Package org.jruby.ext.ffi.jffi
Class CachingNativeMemoryAllocator.Bucket
java.lang.Object
org.jruby.ext.ffi.jffi.CachingNativeMemoryAllocator.Bucket
- Enclosing class:
- CachingNativeMemoryAllocator
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) final class -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Set<CachingNativeMemoryAllocator.Bucket.CacheElement>(package private) final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) CachingNativeMemoryAllocator.Magazine(package private) voidrecycle(CachingNativeMemoryAllocator.Magazine magazine) private void
-
Field Details
-
size
final int size -
cache
-
-
Constructor Details
-
Bucket
Bucket(int size)
-
-
Method Details
-
getMagazine
CachingNativeMemoryAllocator.Magazine getMagazine() -
recycle
-
removeCacheElement
-