Home
last modified time | relevance | path

Searched refs:jni_env (Results 1 – 4 of 4) sorted by relevance

/art/compiler/jni/quick/
Djni_compiler.cc292 ManagedRegister jni_env = main_jni_conv->CurrentParamRegister(); in ArtJniCompileMethodInternal() local
293 DCHECK(!jni_env.Equals(main_jni_conv->InterproceduralScratchRegister())); in ArtJniCompileMethodInternal()
295 __ LoadRawPtrFromThread64(jni_env, Thread::JniEnvOffset<8>()); in ArtJniCompileMethodInternal()
297 __ LoadRawPtrFromThread32(jni_env, Thread::JniEnvOffset<4>()); in ArtJniCompileMethodInternal()
300 FrameOffset jni_env = main_jni_conv->CurrentParamStackOffset(); in ArtJniCompileMethodInternal() local
302 __ CopyRawPtrFromThread64(jni_env, Thread::JniEnvOffset<8>(), in ArtJniCompileMethodInternal()
305 __ CopyRawPtrFromThread32(jni_env, Thread::JniEnvOffset<4>(), in ArtJniCompileMethodInternal()
/art/runtime/
Dthread.cc371 tlsPtr_.jni_env = new JNIEnvExt(this, java_vm); in Init()
426 JNIEnv* env = tlsPtr_.jni_env; in CreatePeer()
1203 if (tlsPtr_.jni_env != nullptr) { in Destroy()
1204 tlsPtr_.jni_env->monitors.VisitRoots(MonitorExitVisitor, self, RootInfo(kRootVMInternal)); in Destroy()
1209 if (tlsPtr_.jni_env != nullptr && tlsPtr_.jpeer != nullptr) { in ~Thread()
1211 tlsPtr_.jni_env->DeleteGlobalRef(tlsPtr_.jpeer); in ~Thread()
1216 bool initialized = (tlsPtr_.jni_env != nullptr); // Did Thread::Init run? in ~Thread()
1218 delete tlsPtr_.jni_env; in ~Thread()
1219 tlsPtr_.jni_env = nullptr; in ~Thread()
1257 ScopedLocalRef<jobject> peer(tlsPtr_.jni_env, soa.AddLocalReference<jobject>(tlsPtr_.opeer)); in HandleUncaughtExceptions()
[all …]
Dthread.h403 return tlsPtr_.jni_env; in GetJniEnv()
621 OFFSETOF_MEMBER(tls_ptr_sized_values, jni_env)); in JniEnvOffset()
1024 managed_stack(), suspend_trigger(nullptr), jni_env(nullptr), self(nullptr), opeer(nullptr), in tls_ptr_sized_values()
1053 JNIEnvExt* jni_env; member
Dentrypoints_order_test.cc93 EXPECT_OFFSET_DIFFP(Thread, tlsPtr_, suspend_trigger, jni_env, kPointerSize); in CheckThreadOffsets()
94 EXPECT_OFFSET_DIFFP(Thread, tlsPtr_, jni_env, self, kPointerSize); in CheckThreadOffsets()