Lines Matching refs:jni_env
959 tlsPtr_.jni_env = jni_env_ext; in Init()
962 tlsPtr_.jni_env = JNIEnvExt::Create(this, java_vm, &error_msg); in Init()
963 if (tlsPtr_.jni_env == nullptr) { in Init()
1088 JNIEnv* env = tlsPtr_.jni_env; in CreatePeer()
2391 if (tlsPtr_.jni_env != nullptr) { in Destroy()
2396 tlsPtr_.jni_env->monitors_.VisitRoots(&visitor, RootInfo(kRootVMInternal)); in Destroy()
2401 tlsPtr_.jni_env->DeleteGlobalRef(tlsPtr_.jpeer); in Destroy()
2405 tlsPtr_.jni_env->DeleteGlobalRef(tlsPtr_.class_loader_override); in Destroy()
2458 bool initialized = (tlsPtr_.jni_env != nullptr); // Did Thread::Init run? in ~Thread()
2460 delete tlsPtr_.jni_env; in ~Thread()
2461 tlsPtr_.jni_env = nullptr; in ~Thread()
2503 ScopedLocalRef<jobject> peer(tlsPtr_.jni_env, soa.AddLocalReference<jobject>(tlsPtr_.opeer)); in HandleUncaughtExceptions()
2507 ScopedLocalRef<jthrowable> exception(tlsPtr_.jni_env, tlsPtr_.jni_env->ExceptionOccurred()); in HandleUncaughtExceptions()
2508 tlsPtr_.jni_env->ExceptionClear(); in HandleUncaughtExceptions()
2511 tlsPtr_.jni_env->CallVoidMethod(peer.get(), in HandleUncaughtExceptions()
2516 tlsPtr_.jni_env->ExceptionClear(); in HandleUncaughtExceptions()
2528 tlsPtr_.jni_env->CallVoidMethod(group.get(), in RemoveFromThreadGroup()
2564 IndirectReferenceTable& locals = tlsPtr_.jni_env->locals_; in DecodeJObject()
2575 tlsPtr_.jni_env->vm_->JniAbortF(nullptr, "use of invalid jobject %p", obj); in DecodeJObject()
2580 result = tlsPtr_.jni_env->vm_->DecodeGlobal(ref); in DecodeJObject()
2583 result = tlsPtr_.jni_env->vm_->DecodeWeakGlobal(const_cast<Thread*>(this), ref); in DecodeJObject()
2592 tlsPtr_.jni_env->vm_->JniAbortF(nullptr, "use of deleted %s %p", in DecodeJObject()
2603 return tlsPtr_.jni_env->vm_->IsWeakGlobalCleared(const_cast<Thread*>(this), ref); in IsJWeakCleared()
4005 tlsPtr_.jni_env->VisitJniLocalRoots(visitor, RootInfo(kRootJNILocal, thread_id)); in VisitRoots()
4006 tlsPtr_.jni_env->VisitMonitorRoots(visitor, RootInfo(kRootJNIMonitor, thread_id)); in VisitRoots()