Java 2 SDK for Solaris Developer's Guide

JavaTM Native Interface

The Java Native Interface (JNI) has been enhanced in J2SE 1.4 to reflect a new feature of the java.nio package: direct buffers. The contents of a direct buffer can, potentially, reside in native memory outside of the ordinary garbage-collected heap. Also, new Invocation Interface routine AttachCurrentTreadAsDaemon allows native code to attach a daemon thread to the virtual machine; this is useful when the VM should not wait for this thread to exit upon shutdown. See JNI Enhancements online at http://java.sun.com/j2se/1.4/docs/guide/jni/jni-14.html.