Package it.unich.jgmp
Class AllocationMonitor.JGMPAlloc
- java.lang.Object
-
- it.unich.jgmp.AllocationMonitor.JGMPAlloc
-
- All Implemented Interfaces:
com.sun.jna.Callback
,AllocFunc
- Enclosing class:
- AllocationMonitor
private static class AllocationMonitor.JGMPAlloc extends java.lang.Object implements AllocFunc
The custom allocator function.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) AllocFuncByReference
afp
-
Constructor Summary
Constructors Constructor Description JGMPAlloc(AllocFuncByReference afp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.sun.jna.Pointer
invoke(SizeT alloc_size)
Return a pointer to newly allocated space with at leastalloc_size
bytes.
-
-
-
Field Detail
-
afp
AllocFuncByReference afp
-
-
Constructor Detail
-
JGMPAlloc
JGMPAlloc(AllocFuncByReference afp)
-
-