Annotation Interface FFMCritical


@Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface FFMCritical
Enables the Linker.Option.critical(boolean) option when creating the FFM downcall.

When specified at the interface level, it is as if every method in the interface is annotated with @FFMCritical.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Specifies whether the linked function should allow access to the Java heap.
  • Element Details

    • value

      boolean value
      Specifies whether the linked function should allow access to the Java heap.

      Defaults to false.

      Default:
      false