/art/runtime/jni/ |
D | jni_env_ext.cc | 45 const JNINativeInterface* JNIEnvExt::table_override_ = nullptr; 47 bool JNIEnvExt::CheckLocalsValid(JNIEnvExt* in) NO_THREAD_SAFETY_ANALYSIS { in CheckLocalsValid() 54 jint JNIEnvExt::GetEnvHandler(JavaVMExt* vm, /*out*/void** env, jint version) { in GetEnvHandler() 68 JNIEnvExt* JNIEnvExt::Create(Thread* self_in, JavaVMExt* vm_in, std::string* error_msg) { in Create() 69 std::unique_ptr<JNIEnvExt> ret(new JNIEnvExt(self_in, vm_in, error_msg)); in Create() 76 JNIEnvExt::JNIEnvExt(Thread* self_in, JavaVMExt* vm_in, std::string* error_msg) in JNIEnvExt() function in art::JNIEnvExt 91 void JNIEnvExt::SetFunctionsToRuntimeShutdownFunctions() { in SetFunctionsToRuntimeShutdownFunctions() 95 JNIEnvExt::~JNIEnvExt() { in ~JNIEnvExt() 98 jobject JNIEnvExt::NewLocalRef(mirror::Object* obj) { in NewLocalRef() 112 void JNIEnvExt::DeleteLocalRef(jobject obj) { in DeleteLocalRef() [all …]
|
D | jni_env_ext.h | 44 class JNIEnvExt : public JNIEnv { 48 static JNIEnvExt* Create(Thread* self, JavaVMExt* vm, std::string* error_msg); 54 ~JNIEnvExt(); 161 static bool CheckLocalsValid(JNIEnvExt* in) NO_THREAD_SAFETY_ANALYSIS; 169 JNIEnvExt(Thread* self, JavaVMExt* vm, std::string* error_msg) 226 explicit ScopedJniEnvLocalRefState(JNIEnvExt* env) : in ScopedJniEnvLocalRefState() 238 JNIEnvExt* const env_;
|
D | jni_env_ext-inl.h | 27 inline T JNIEnvExt::AddLocalReference(ObjPtr<mirror::Object> obj) { in AddLocalReference()
|
D | jni_internal_test.cc | 937 return reinterpret_cast<JNIEnvExt*>(env)->GetLocalsCapacity(); in GetLocalsCapacity() 1124 down_cast<JNIEnvExt*>(env_)->SetCheckJniEnabled(false); \ 1147 down_cast<JNIEnvExt*>(env_)->SetCheckJniEnabled(true); \ 1572 const JNINativeInterface* base_env = down_cast<JNIEnvExt*>(env_)->GetUncheckedFunctions(); in TEST_F() 2592 EXPECT_EQ(OFFSETOF_MEMBER(JNIEnvExt, local_ref_cookie_), in TEST_F() 2593 JNIEnvExt::LocalRefCookieOffset(sizeof(void*)).Uint32Value()); in TEST_F() 2595 EXPECT_EQ(OFFSETOF_MEMBER(JNIEnvExt, self_), JNIEnvExt::SelfOffset(sizeof(void*)).Uint32Value()); in TEST_F() 2600 OFFSETOF_MEMBER(JNIEnvExt, locals_) + in TEST_F() 2602 uint32_t segment_state_computed = JNIEnvExt::SegmentStateOffset(sizeof(void*)).Uint32Value(); in TEST_F() 2627 JNIEnvExt::SetTableOverride(&env_override); in TEST_F() [all …]
|
D | jni_internal.cc | 539 return reinterpret_cast<JNIEnvExt*>(env)->GetVm(); in JavaVmExtFromEnv() 703 return static_cast<JNIEnvExt*>(env)->self_->IsExceptionPending() ? JNI_TRUE : JNI_FALSE; in ExceptionCheck() 757 down_cast<JNIEnvExt*>(env)->PushFrame(capacity); in PushLocalFrame() 781 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in DeleteGlobalRef() 782 Thread* self = down_cast<JNIEnvExt*>(env)->self_; in DeleteGlobalRef() 793 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in DeleteWeakGlobalRef() 794 Thread* self = down_cast<JNIEnvExt*>(env)->self_; in DeleteWeakGlobalRef() 816 auto* ext_env = down_cast<JNIEnvExt*>(env); in DeleteLocalRef() 2536 bool warn_on_going_to_parent = down_cast<JNIEnvExt*>(env)->GetVm()->IsCheckJniEnabled(); in RegisterNatives() 2685 return static_cast<JNIEnvExt*>(env)->self_->IsExceptionPending() ? nullptr : result; in NewDirectByteBuffer()
|
/art/test/2033-shutdown-mechanics/ |
D | native_shutdown.cc | 40 JNIEnvExt* const extEnv = down_cast<JNIEnvExt*>(env); in Java_Main_monitorShutdown()
|
/art/openjdkjvmti/ |
D | ti_jni.cc | 52 art::JNIEnvExt::SetTableOverride(function_table); in SetJNIFunctionTable() 75 current_table = art::JNIEnvExt::GetFunctionTable(check_jni); in GetJNIFunctionTable()
|
D | events.cc | 266 static Type AddLocalRef(art::JNIEnvExt* e, art::ObjPtr<art::mirror::Object> obj) in AddLocalRef() 274 art::JNIEnvExt* jnienv, in RunEventCallback() 333 art::JNIEnvExt* jni_env = self->GetJniEnv(); in ObjectAllocated() 371 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MonitorContendedLocking() 385 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MonitorContendedLocked() 399 art::JNIEnvExt* jnienv = self->GetJniEnv(); in ObjectWaitStart() 426 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MonitorWaitFinished() 449 art::JNIEnvExt* jnienv = self->GetJniEnv(); in ThreadParkStart() 507 art::JNIEnvExt* jnienv = self->GetJniEnv(); in ThreadParkFinished() 634 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MethodEntered() [all …]
|
D | ti_object.cc | 89 art::JNIEnvExt* jni = self->GetJniEnv(); in GetObjectMonitorUsage()
|
D | jvmti_weak_table-inl.h | 333 art::JNIEnvExt* jni_env = self->GetJniEnv();
|
/art/runtime/ |
D | scoped_thread_state_change.h | 30 class JNIEnvExt; variable 77 JNIEnvExt* Env() const { in Env() 128 JNIEnvExt* const env_;
|
D | non_debuggable_classes.cc | 32 JNIEnvExt* env = self->GetJniEnv(); in AddNonDebuggableClass()
|
D | scoped_thread_state_change-inl.h | 97 : self_(ThreadForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->GetVm()) {} in ScopedObjectAccessAlreadyRunnable() 101 env_(down_cast<JNIEnvExt*>(self->GetJniEnv())), in ScopedObjectAccessAlreadyRunnable()
|
D | thread-inl.h | 38 JNIEnvExt* full_env(down_cast<JNIEnvExt*>(env)); in ThreadForEnv()
|
D | thread.h | 94 class JNIEnvExt; variable 564 JNIEnvExt* GetJniEnv() const { in GetJniEnv() 1435 bool Init(ThreadList*, JavaVMExt*, JNIEnvExt* jni_env_ext = nullptr) 1723 JNIEnvExt* jni_env; in PACKED() 1727 JNIEnvExt* tmp_jni_env; in PACKED()
|
D | hidden_api.cc | 294 JNIEnvExt* env = Thread::Current()->GetJniEnv(); in LogAccessToEventLog()
|
/art/test/136-daemon-jni-shutdown/ |
D | daemon_jni_shutdown.cc | 61 JavaVM* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in Java_Main_destroyJavaVMAndExit()
|
/art/runtime/entrypoints/quick/ |
D | quick_jni_entrypoints.cc | 64 JNIEnvExt* env = self->GetJniEnv(); in JniMethodFastStart() 79 JNIEnvExt* env = self->GetJniEnv(); in JniMethodStart() 128 JNIEnvExt* env = self->GetJniEnv(); in PopLocalReferences()
|
D | quick_trampoline_entrypoints.cc | 819 JNIEnvExt* env = self->GetJniEnv(); in artQuickProxyInvokeHandler() 1227 JNIEnvExt* env = self->GetJniEnv(); in artQuickResolutionTrampoline() 2417 JNIEnvExt* env = self->GetJniEnv(); in artInvokePolymorphic() 2540 JNIEnvExt* env = self->GetJniEnv(); in artInvokeCustom()
|
/art/compiler/trampolines/ |
D | trampoline_compiler.cc | 69 ___ Ldr(temp_reg, MemOperand(r0, JNIEnvExt::SelfOffset(4).Int32Value())); in CreateTrampoline() 106 Offset(JNIEnvExt::SelfOffset(8).Int32Value())); in CreateTrampoline()
|
/art/runtime/native/ |
D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 45 return static_cast<JNIEnvExt*>(env)->GetSelf(); in GetSelf()
|
D | java_lang_Thread.cc | 40 return static_cast<JNIEnvExt*>(env)->GetSelf()->Interrupted() ? JNI_TRUE : JNI_FALSE; in Thread_interrupted()
|
/art/runtime/entrypoints/jni/ |
D | jni_entrypoints.cc | 110 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in artFindNativeMethodRunnable()
|
/art/runtime/base/ |
D | mutex.cc | 83 JNIEnvExt* const env = self->GetJniEnv(); in SleepIfRuntimeDeleted() 133 JNIEnvExt* const env = self == nullptr ? nullptr : self->GetJniEnv(); in WaitBrieflyFor()
|
/art/openjdkjvm/ |
D | OpenjdkJvm.cc | 389 return static_cast<art::JNIEnvExt*>(env)->GetSelf()->Interrupted() ? JNI_TRUE : JNI_FALSE; in JVM_IsInterrupted()
|