/art/runtime/ |
D | jni_env_ext.cc | 41 static bool CheckLocalsValid(JNIEnvExt* in) NO_THREAD_SAFETY_ANALYSIS { in CheckLocalsValid() 48 JNIEnvExt* JNIEnvExt::Create(Thread* self_in, JavaVMExt* vm_in) { in Create() 49 std::unique_ptr<JNIEnvExt> ret(new JNIEnvExt(self_in, vm_in)); in Create() 56 JNIEnvExt::JNIEnvExt(Thread* self_in, JavaVMExt* vm_in) in JNIEnvExt() function in art::JNIEnvExt 71 void JNIEnvExt::SetFunctionsToRuntimeShutdownFunctions() { in SetFunctionsToRuntimeShutdownFunctions() 76 JNIEnvExt::~JNIEnvExt() { in ~JNIEnvExt() 79 jobject JNIEnvExt::NewLocalRef(mirror::Object* obj) { in NewLocalRef() 86 void JNIEnvExt::DeleteLocalRef(jobject obj) { in DeleteLocalRef() 92 void JNIEnvExt::SetCheckJniEnabled(bool enabled) { in SetCheckJniEnabled() 97 void JNIEnvExt::DumpReferenceTables(std::ostream& os) { in DumpReferenceTables() [all …]
|
D | jni_env_ext.h | 36 struct JNIEnvExt : public JNIEnv { struct 37 static JNIEnvExt* Create(Thread* self, JavaVMExt* vm); 39 ~JNIEnvExt(); 107 JNIEnvExt(Thread* self, JavaVMExt* vm); argument 119 explicit ScopedJniEnvLocalRefState(JNIEnvExt* env) : env_(env) { in ScopedJniEnvLocalRefState() 130 JNIEnvExt* const env_;
|
D | scoped_thread_state_change.h | 111 JNIEnvExt* Env() const { in Env() 180 : self_(ThreadForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->vm) { in ScopedObjectAccessAlreadyRunnable() 185 : self_(self), env_(down_cast<JNIEnvExt*>(self->GetJniEnv())), in ScopedObjectAccessAlreadyRunnable() 201 JNIEnvExt* const env_;
|
D | jni_env_ext-inl.h | 27 inline T JNIEnvExt::AddLocalReference(mirror::Object* obj) { in AddLocalReference()
|
D | thread-inl.h | 38 JNIEnvExt* full_env(down_cast<JNIEnvExt*>(env)); in ThreadForEnv()
|
D | thread.h | 85 struct JNIEnvExt; 441 JNIEnvExt* GetJniEnv() const { in GetJniEnv() 1165 bool Init(ThreadList*, JavaVMExt*, JNIEnvExt* jni_env_ext = nullptr) 1383 JNIEnvExt* jni_env; in PACKED() 1387 JNIEnvExt* tmp_jni_env; in PACKED()
|
D | jni_internal_test.cc | 1032 down_cast<JNIEnvExt*>(env_)->SetCheckJniEnabled(false); \ 1055 down_cast<JNIEnvExt*>(env_)->SetCheckJniEnabled(true); \ 2288 EXPECT_EQ(OFFSETOF_MEMBER(JNIEnvExt, local_ref_cookie), in TEST_F() 2289 JNIEnvExt::LocalRefCookieOffset(sizeof(void*)).Uint32Value()); in TEST_F() 2291 EXPECT_EQ(OFFSETOF_MEMBER(JNIEnvExt, self), JNIEnvExt::SelfOffset(sizeof(void*)).Uint32Value()); in TEST_F() 2296 OFFSETOF_MEMBER(JNIEnvExt, locals) + in TEST_F() 2298 uint32_t segment_state_computed = JNIEnvExt::SegmentStateOffset(sizeof(void*)).Uint32Value(); in TEST_F()
|
D | jni_internal.cc | 288 return reinterpret_cast<JNIEnvExt*>(env)->vm; in JavaVmExtFromEnv() 447 return static_cast<JNIEnvExt*>(env)->self->IsExceptionPending() ? JNI_TRUE : JNI_FALSE; in ExceptionCheck() 501 down_cast<JNIEnvExt*>(env)->PushFrame(capacity); in PushLocalFrame() 525 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->vm; in DeleteGlobalRef() 526 Thread* self = down_cast<JNIEnvExt*>(env)->self; in DeleteGlobalRef() 537 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->vm; in DeleteWeakGlobalRef() 538 Thread* self = down_cast<JNIEnvExt*>(env)->self; in DeleteWeakGlobalRef() 560 auto* ext_env = down_cast<JNIEnvExt*>(env); in DeleteLocalRef() 2162 bool warn_on_going_to_parent = down_cast<JNIEnvExt*>(env)->vm->IsCheckJniEnabled(); in RegisterNativeMethods() 2292 return static_cast<JNIEnvExt*>(env)->self->IsExceptionPending() ? nullptr : result; in NewDirectByteBuffer()
|
D | thread.cc | 586 Thread* self = static_cast<JNIEnvExt*>(env)->self; in CreateNativeThread() 635 std::unique_ptr<JNIEnvExt> child_jni_env_ext( in CreateNativeThread() 636 JNIEnvExt::Create(child_thread, Runtime::Current()->GetJavaVM())); in CreateNativeThread() 685 bool Thread::Init(ThreadList* thread_list, JavaVMExt* java_vm, JNIEnvExt* jni_env_ext) { in Init() 722 tlsPtr_.jni_env = JNIEnvExt::Create(this, java_vm); in Init()
|
D | common_throws.cc | 567 JNIEnvExt* env = self->GetJniEnv(); in ThrowStackOverflowError()
|
D | check_jni.cc | 1180 JNIEnvExt* threadEnv = self->GetJniEnv(); in CheckThread() 2467 down_cast<JNIEnvExt*>(env)->RecordMonitorEnter(obj); in PRIMITIVE_ARRAY_FUNCTIONS() 2484 down_cast<JNIEnvExt*>(env)->CheckMonitorRelease(obj); in MonitorExit() 2578 return reinterpret_cast<JNIEnvExt*>(env)->vm; in GetJavaVMExt() 2582 return reinterpret_cast<JNIEnvExt*>(env)->unchecked_functions; in baseEnv()
|
D | thread_list.cc | 716 JNIEnvExt* env = self->GetJniEnv(); in ThreadSuspendByPeerWarning()
|
D | runtime.cc | 1333 JNIEnvExt* env = self->GetJniEnv(); in InitThreadGroups()
|
/art/compiler/trampolines/ |
D | trampoline_compiler.cc | 61 __ LoadFromOffset(kLoadWord, IP, R0, JNIEnvExt::SelfOffset(4).Int32Value()); in CreateTrampoline() 95 Offset(JNIEnvExt::SelfOffset(8).Int32Value())); in CreateTrampoline() 130 __ LoadFromOffset(kLoadWord, T9, A0, JNIEnvExt::SelfOffset(4).Int32Value()); in CreateTrampoline() 162 __ LoadFromOffset(kLoadDoubleword, T9, A0, JNIEnvExt::SelfOffset(8).Int32Value()); in CreateTrampoline()
|
/art/test/136-daemon-jni-shutdown/ |
D | daemon_jni_shutdown.cc | 47 JavaVM* vm = down_cast<JNIEnvExt*>(env)->vm; in Java_Main_destroyJavaVMAndExit()
|
/art/runtime/entrypoints/quick/ |
D | quick_jni_entrypoints.cc | 34 JNIEnvExt* env = self->GetJniEnv(); in JniMethodStart() 67 JNIEnvExt* env = self->GetJniEnv(); in PopLocalReferences()
|
D | quick_trampoline_entrypoints.cc | 851 JNIEnvExt* env = self->GetJniEnv(); in artQuickProxyInvokeHandler() 933 JNIEnvExt* env = self->GetJniEnv(); in artQuickResolutionTrampoline()
|
/art/runtime/native/ |
D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 132 Thread* self = static_cast<JNIEnvExt*>(env)->self; in DdmVmInternal_getThreadStats()
|
D | java_lang_Thread.cc | 38 return static_cast<JNIEnvExt*>(env)->self->Interrupted() ? JNI_TRUE : JNI_FALSE; in Thread_interrupted()
|
D | dalvik_system_VMRuntime.cc | 193 return down_cast<JNIEnvExt*>(env)->vm->IsCheckJniEnabled() ? JNI_TRUE : JNI_FALSE; in VMRuntime_isCheckJniEnabled()
|
/art/runtime/openjdkjvm/ |
D | OpenjdkJvm.cc | 389 return static_cast<art::JNIEnvExt*>(env)->self->Interrupted() ? JNI_TRUE : JNI_FALSE; in JVM_IsInterrupted()
|
/art/compiler/jni/quick/ |
D | jni_compiler.cc | 109 const Offset functions(OFFSETOF_MEMBER(JNIEnvExt, functions)); in ArtJniCompileMethodInternal()
|
/art/runtime/base/ |
D | mutex.cc | 857 JNIEnvExt* const env = self->GetJniEnv(); in WaitHoldingLocks()
|
/art/runtime/interpreter/ |
D | unstarted_runtime.cc | 1389 JNIEnvExt* env = self->GetJniEnv(); in UnstartedMethodInvoke()
|