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 Object implements AllocFunc
The custom allocator function.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.sun.jna.Callback

    com.sun.jna.Callback.UncaughtExceptionHandler
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) AllocFuncByReference
     

    Fields inherited from interface com.sun.jna.Callback

    FORBIDDEN_NAMES, METHOD_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.sun.jna.Pointer
    invoke(SizeT alloc_size)
    Return a pointer to newly allocated space with at least alloc_size bytes.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • invoke

      public com.sun.jna.Pointer invoke(SizeT alloc_size)
      Description copied from interface: AllocFunc
      Return a pointer to newly allocated space with at least alloc_size bytes.
      Specified by:
      invoke in interface AllocFunc