Home | History | Annotate | Download | only in runtime

Lines Matching refs:Vm

307         jni_on_unload(soa.Vm(), nullptr);
320 static jint DestroyJavaVM(JavaVM* vm) {
321 if (vm == nullptr) {
324 JavaVMExt* raw_vm = reinterpret_cast<JavaVMExt*>(vm);
330 static jint AttachCurrentThread(JavaVM* vm, JNIEnv** p_env, void* thr_args) {
331 return AttachCurrentThreadInternal(vm, p_env, thr_args, false);
334 static jint AttachCurrentThreadAsDaemon(JavaVM* vm, JNIEnv** p_env, void* thr_args) {
335 return AttachCurrentThreadInternal(vm, p_env, thr_args, true);
338 static jint DetachCurrentThread(JavaVM* vm) {
339 if (vm == nullptr || Thread::Current() == nullptr) {
342 JavaVMExt* raw_vm = reinterpret_cast<JavaVMExt*>(vm);
348 static jint GetEnv(JavaVM* vm, void** env, jint version) {
349 if (vm == nullptr || env == nullptr) {
357 JavaVMExt* raw_vm = reinterpret_cast<JavaVMExt*>(vm);
362 static jint AttachCurrentThreadInternal(JavaVM* vm, JNIEnv** p_env, void* raw_args, bool as_daemon) {
363 if (vm == nullptr || p_env == nullptr) {
374 Runtime* runtime = reinterpret_cast<JavaVMExt*>(vm)->GetRuntime();