IBM User Guide for Java V7 on Windows > IBM SDK for Java > The Java Native Interface (JNI) > Copying and pinning



A generic way to use the isCopy and mode flags

Here is a generic way to use the isCopy and mode flags. It works with all JVMs and ensures that changes are committed and leaks do not occur.

To use the flags in a generic way, ensure that you:

A complicated use of these flags is necessary only for optimization. If you use the generic way, you must still consider synchronization. See Synchronization.


Parent: Copying and pinning








Error 404 - Not Found

Error 404 - Not Found

The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.