Lines Matching full:javavm
12 <li><a href="#JavaVM_and_JNIEnv">JavaVM and JNIEnv</a></li>
45 <h2>JavaVM and JNIEnv</h2>
47 <p>JNI defines two key data structures, "JavaVM" and "JNIEnv". Both of these are essentially
50 the table.) The JavaVM provides the "invocation interface" functions,
51 which allow you to create and destroy a JavaVM. In theory you can have multiple JavaVMs per process,
59 the JavaVM, and use <code>GetEnv</code> to discover the thread's JNIEnv. (Assuming it has one; see <code>AttachCurrentThread</code> below.)</p>
61 <p>The C declarations of JNIEnv and JavaVM are different from the C++
73 but they can also be created elsewhere and then attached to the JavaVM. For
117 in your native code. Because there is a limit of one JavaVM per process, it's reasonable
403 <p>JNI does very little error checking. Errors usually result in a crash. Android also offers a mode called CheckJNI, where the JavaVM and JNIEnv function table pointers are switched to tables of functions that perform an extended series of checks before calling the standard implementation.</p>
464 <li> Provide a native function: <code><strong>jint JNI_OnLoad(JavaVM* vm, void* reserved)</strong></code></li>
473 <pre>jint JNI_OnLoad(JavaVM* vm, void* reserved)
673 JavaVM will start in the "system" class loader instead of the one associated