/art/openjdkjvmti/ |
D | ti_search.cc | 97 ScopedLocalRef<jobject> defaults_jobj(self->GetJniEnv(), nullptr); in Update() 107 defaults_jobj.reset(self->GetJniEnv()->AddLocalReference<jobject>(defaults_obj)); in Update() 128 ScopedLocalRef<jobject> cp_jobj(self->GetJniEnv(), nullptr); in Update() 137 cp_jobj.reset(self->GetJniEnv()->AddLocalReference<jobject>(cp_key)); in Update() 143 ScopedLocalRef<jobject> old_value(self->GetJniEnv(), in Update() 144 self->GetJniEnv()->CallObjectMethod( in Update() 151 self->GetJniEnv()->DeleteLocalRef(old_value.release()); in Update() 164 ScopedLocalRef<jobject> new_val_jobj(self->GetJniEnv(), nullptr); in Update() 174 new_val_jobj.reset(self->GetJniEnv()->AddLocalReference<jobject>(new_value)); in Update() 178 ScopedLocalRef<jobject> res_obj(self->GetJniEnv(), in Update() [all …]
|
D | ti_phase.cc | 50 inline static JNIEnv* GetJniEnv() { in GetJniEnv() function 51 return reinterpret_cast<JNIEnv*>(art::Thread::Current()->GetJniEnv()); in GetJniEnv() 68 event_handler->DispatchEvent<ArtJvmtiEvent::kVmStart>(self, GetJniEnv()); in NextRuntimePhase() 76 ScopedLocalRef<jthread> thread(GetJniEnv(), GetCurrentJThread()); in NextRuntimePhase() 77 event_handler->DispatchEvent<ArtJvmtiEvent::kVmInit>(self, GetJniEnv(), thread.get()); in NextRuntimePhase() 87 event_handler->DispatchEvent<ArtJvmtiEvent::kVmDeath>(self, GetJniEnv()); in NextRuntimePhase()
|
D | events.cc | 278 static_cast<JNIEnv*>(self->GetJniEnv()), in DdmPublishChunk() 309 art::JNIEnvExt* jni_env = self->GetJniEnv(); in ObjectAllocated() 348 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MonitorContendedLocking() 362 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MonitorContendedLocked() 376 art::JNIEnvExt* jnienv = self->GetJniEnv(); in ObjectWaitStart() 403 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MonitorWaitFinished() 426 art::JNIEnvExt* jnienv = self->GetJniEnv(); in ThreadParkStart() 484 art::JNIEnvExt* jnienv = self->GetJniEnv(); in ThreadParkFinished() 584 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MethodEntered() 606 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MethodExited() [all …]
|
D | ti_class.cc | 277 ScopedLocalRef<jclass> jklass(thread->GetJniEnv(), in ClassLoad() 278 thread->GetJniEnv()->AddLocalReference<jclass>(klass.Get())); in ClassLoad() 281 thread->GetJniEnv(), in ClassLoad() 282 peer.IsNull() ? nullptr : thread->GetJniEnv()->AddLocalReference<jthread>(peer)); in ClassLoad() 285 static_cast<JNIEnv*>(thread->GetJniEnv()), in ClassLoad() 304 ScopedLocalRef<jclass> jklass(thread->GetJniEnv(), in ClassPrepare() 305 thread->GetJniEnv()->AddLocalReference<jclass>(klass.Get())); in ClassPrepare() 308 thread->GetJniEnv(), in ClassPrepare() 309 peer.IsNull() ? nullptr : thread->GetJniEnv()->AddLocalReference<jthread>(peer)); in ClassPrepare() 312 static_cast<JNIEnv*>(thread->GetJniEnv()), in ClassPrepare() [all …]
|
D | ti_ddms.cc | 68 if (!art::Dbg::DdmHandleChunk(self->GetJniEnv(), in HandleChunk()
|
D | ti_object.cc | 89 art::JNIEnvExt* jni = self->GetJniEnv(); in GetObjectMonitorUsage()
|
D | ti_thread.cc | 98 return self->GetJniEnv()->AddLocalReference<jthread>(self->GetPeer()); in GetThreadObject() 104 ScopedLocalRef<jthread> thread(self->GetJniEnv(), GetThreadObject(self)); in Post() 107 reinterpret_cast<JNIEnv*>(self->GetJniEnv()), in Post() 176 JNIEnv* jni = self->GetJniEnv(); in WaitForSystemDaemonStart() 778 JNIEnv* env = self->GetJniEnv(); in AgentCallback() 810 JNIEnv* env = art::Thread::Current()->GetJniEnv(); in RunAgentThread()
|
D | ti_properties.cc | 176 JNIEnv* jni_env = art::Thread::Current()->GetJniEnv(); in GetLibraryPath()
|
D | ti_method.cc | 76 art::JNIEnvExt* jnienv = thread->GetJniEnv(); in RegisterNativeMethod() 649 art::JNIEnvExt* jni = art::Thread::Current()->GetJniEnv(); in GetResult() 692 art::JNIEnvExt* jni = art::Thread::Current()->GetJniEnv(); in Execute() 922 : art::Thread::Current()->GetJniEnv()->AddLocalReference<jobject>(val_.Read()); in GetResult()
|
D | art_jvmti.h | 127 static inline JNIEnv* GetJniEnv(jvmtiEnv* env) { in GetJniEnv() function
|
D | transform.cc | 270 static_cast<JNIEnv*>(self->GetJniEnv()), in TransformSingleClassDirect()
|
D | ti_threadgroup.cc | 83 reinterpret_cast<JNIEnv*>(art::Thread::Current()->GetJniEnv())->NewLocalRef(sys_thread_group); in GetTopThreadGroups()
|
/art/runtime/jdwp/ |
D | object_registry.cc | 164 JNIEnv* env = self->GetJniEnv(); in Clear() 223 JNIEnv* env = self->GetJniEnv(); in Demote() 234 JNIEnv* env = self->GetJniEnv(); in Promote() 249 JNIEnv* env = self->GetJniEnv(); in IsCollected() 266 JNIEnv* env = self->GetJniEnv(); in DisposeObject()
|
/art/runtime/entrypoints/quick/ |
D | quick_jni_entrypoints.cc | 52 JNIEnvExt* env = self->GetJniEnv(); in JniMethodFastStart() 67 JNIEnvExt* env = self->GetJniEnv(); in JniMethodStart() 117 JNIEnvExt* env = self->GetJniEnv(); in PopLocalReferences() 159 if (UNLIKELY(self->GetJniEnv()->IsCheckJniEnabled())) { in JniMethodEndWithReferenceHandleResult()
|
/art/runtime/ |
D | non_debuggable_classes.cc | 32 JNIEnvExt* env = self->GetJniEnv(); in AddNonDebuggableClass()
|
D | proxy_test.cc | 38 WellKnownClasses::Init(art::Thread::Current()->GetJniEnv()); in SetUp() 41 WellKnownClasses::LateInit(art::Thread::Current()->GetJniEnv()); in SetUp()
|
D | scoped_thread_state_change-inl.h | 105 env_(down_cast<JNIEnvExt*>(self->GetJniEnv())), in ScopedObjectAccessAlreadyRunnable()
|
D | runtime.cc | 398 self->GetJniEnv()->CallStaticVoidMethod(WellKnownClasses::java_lang_Daemons, in ~Runtime() 761 JNIEnv* env = soa.Self()->GetJniEnv(); in CreateSystemClassLoader() 894 InitNonZygoteOrPostFork(self->GetJniEnv(), in Start() 906 self->GetJniEnv()->AssertLocalsEmpty(); in Start() 918 self->GetJniEnv()->AssertLocalsEmpty(); in Start() 1033 JNIEnv* env = self->GetJniEnv(); in StartDaemonThreads() 1804 JNIEnv* env = self->GetJniEnv(); in InitNativeMethods() 1852 JNIEnvExt* env = self->GetJniEnv(); in InitThreadGroups()
|
/art/runtime/native/ |
D | dalvik_system_ZygoteHooks.cc | 65 self_->GetJniEnv()->PushFrame(kClassSetCapacity); in ClassSet() 69 self_->GetJniEnv()->PopFrame(); in ~ClassSet() 73 class_set_.insert(self_->GetJniEnv()->AddLocalReference<jclass>(klass)); in AddClass() 167 Thread::Current()->GetJniEnv()->SetCheckJniEnabled(true); in EnableDebugFeatures()
|
/art/runtime/jni/ |
D | java_vm_ext.cc | 90 self->GetJniEnv()->DeleteWeakGlobalRef(class_loader_); in ~SharedLibrary() 356 UnloadLibraries(self->GetJniEnv()->GetVm(), unload_libraries); in UnloadNativeLibraries() 433 *p_env = self->GetJniEnv(); in AttachCurrentThreadInternal() 464 *p_env = Thread::Current()->GetJniEnv(); in AttachCurrentThreadInternal() 723 thread->GetJniEnv()->SetCheckJniEnabled(*check_jni); in ThreadEnableCheckJni() 1212 delete Thread::Current()->GetJniEnv(); in JNI_CreateJavaVM() 1218 *p_env = Thread::Current()->GetJniEnv(); in JNI_CreateJavaVM()
|
D | jni_env_ext.cc | 63 *env = thread->GetJniEnv(); in GetEnvHandler() 295 JNIEnvExt* env = thread->GetJniEnv(); in ThreadResetFunctionTable()
|
/art/tools/art_verifier/ |
D | art_verifier.cc | 67 WellKnownClasses::Init(self->GetJniEnv()); in Install()
|
/art/adbconnection/ |
D | adbconnection.cc | 153 JNIEnv* env = thr->GetJniEnv(); in CreateAdbConnectionThread() 189 JNIEnv* env = self->GetJniEnv(); in CallbackFunction() 764 if (!art::Dbg::DdmHandleChunk(self->GetJniEnv(), in HandleDataWithoutAgent()
|
/art/compiler/ |
D | exception_test.cc | 169 JNIEnv* env = thread->GetJniEnv(); in TEST_F()
|
/art/runtime/gc/ |
D | reference_processor.cc | 304 cleared_references = self->GetJniEnv()->GetVm()->AddGlobalRef( in CollectClearedReferences()
|