|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=PARAMETER) public @interface Pinned
Marks a method parameter as being pinnable.
This means the data for the parameter is not copied to/from native memory. Instead, the JVM memory is locked and passed directly to the native code.
IMPORTANT: This should not be used for functions that may block on network or filesystem access such as read(2), write(2), stat(2), etc.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |