/art/openjdkjvmti/ |
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 | ti_search.cc | 103 ScopedLocalRef<jobject> defaults_jobj(self->GetJniEnv(), nullptr); in Update() 113 defaults_jobj.reset(self->GetJniEnv()->AddLocalReference<jobject>(defaults_obj)); in Update() 134 ScopedLocalRef<jobject> cp_jobj(self->GetJniEnv(), nullptr); in Update() 143 cp_jobj.reset(self->GetJniEnv()->AddLocalReference<jobject>(cp_key)); in Update() 149 ScopedLocalRef<jobject> old_value(self->GetJniEnv(), in Update() 150 self->GetJniEnv()->CallObjectMethod( in Update() 157 self->GetJniEnv()->DeleteLocalRef(old_value.release()); in Update() 170 ScopedLocalRef<jobject> new_val_jobj(self->GetJniEnv(), nullptr); in Update() 180 new_val_jobj.reset(self->GetJniEnv()->AddLocalReference<jobject>(new_value)); in Update() 184 ScopedLocalRef<jobject> res_obj(self->GetJniEnv(), in Update() [all …]
|
D | events.cc | 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() 607 jobject new_val = is_object ? self->GetJniEnv()->NewGlobalRef(val.l) : nullptr; in AddDelayedNonStandardExitEvent() 623 self->GetJniEnv()->DeleteGlobalRef(to_cleanup); in AddDelayedNonStandardExitEvent() 634 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MethodEntered() [all …]
|
D | ti_class.cc | 282 ScopedLocalRef<jclass> jklass(thread->GetJniEnv(), in ClassLoad() 283 thread->GetJniEnv()->AddLocalReference<jclass>(klass.Get())); in ClassLoad() 286 thread->GetJniEnv(), in ClassLoad() 287 peer.IsNull() ? nullptr : thread->GetJniEnv()->AddLocalReference<jthread>(peer)); in ClassLoad() 290 static_cast<JNIEnv*>(thread->GetJniEnv()), in ClassLoad() 309 ScopedLocalRef<jclass> jklass(thread->GetJniEnv(), in ClassPrepare() 310 thread->GetJniEnv()->AddLocalReference<jclass>(klass.Get())); in ClassPrepare() 313 thread->GetJniEnv(), in ClassPrepare() 314 peer.IsNull() ? nullptr : thread->GetJniEnv()->AddLocalReference<jthread>(peer)); in ClassPrepare() 317 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() 178 JNIEnv* jni = self->GetJniEnv(); in WaitForSystemDaemonStart() 781 JNIEnv* env = self->GetJniEnv(); in AgentCallback() 813 JNIEnv* env = art::Thread::Current()->GetJniEnv(); in RunAgentThread()
|
D | ti_properties.cc | 176 JNIEnv* jni_env = art::Thread::Current()->GetJniEnv(); in GetLibraryPath()
|
D | art_jvmti.h | 127 static inline JNIEnv* GetJniEnv(jvmtiEnv* env) { in GetJniEnv() function
|
D | ti_threadgroup.cc | 83 reinterpret_cast<JNIEnv*>(art::Thread::Current()->GetJniEnv())->NewLocalRef(sys_thread_group); in GetTopThreadGroups()
|
D | ti_stack.cc | 391 JNIEnv* jni_env = art::Thread::Current()->GetJniEnv(); in GetAllStackTraces() 498 static_cast<JNIEnv*>(current->GetJniEnv())->NewLocalRef(data.thread_peers[i]); in GetAllStackTraces() 911 target->GetJniEnv()->VisitMonitorRoots(&visitor, root_info); in Run() 1311 jvalue jval{ .l = art::Thread::Current()->GetJniEnv()->NewGlobalRef(obj) }; in AddDelayedMethodExitEvent() 1386 ScopedLocalRef<jthread> cur_thread(self->GetJniEnv(), nullptr); in ForceEarlyReturn()
|
/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 | 101 env_(down_cast<JNIEnvExt*>(self->GetJniEnv())), in ScopedObjectAccessAlreadyRunnable()
|
D | runtime.cc | 408 self->GetJniEnv()->CallStaticVoidMethod(WellKnownClasses::java_lang_Daemons, in ~Runtime() 791 JNIEnv* env = soa.Self()->GetJniEnv(); in CreateSystemClassLoader() 937 InitNonZygoteOrPostFork(self->GetJniEnv(), in Start() 950 self->GetJniEnv()->AssertLocalsEmpty(); in Start() 962 self->GetJniEnv()->AssertLocalsEmpty(); in Start() 1108 JNIEnv* env = self->GetJniEnv(); in StartDaemonThreads() 1874 JNIEnv* env = self->GetJniEnv(); in InitNativeMethods() 1929 JNIEnvExt* env = self->GetJniEnv(); in InitThreadGroups() 3032 WellKnownClasses::HandleJniIdTypeChange(Thread::Current()->GetJniEnv()); in SetJniIdType()
|
/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() 182 if (UNLIKELY(self->GetJniEnv()->IsCheckJniEnabled())) { in JniMethodEndWithReferenceHandleResult()
|
D | quick_trampoline_entrypoints.cc | 819 JNIEnvExt* env = self->GetJniEnv(); in artQuickProxyInvokeHandler() 1227 JNIEnvExt* env = self->GetJniEnv(); in artQuickResolutionTrampoline() 1980 sm_.AdvancePointer(self->GetJniEnv()); in BuildGenericJniFrameVisitor() 2281 ScopedObjectAccessUnchecked soa(self->GetJniEnv()); in artInvokeCommon() 2415 ScopedObjectAccessUnchecked soa(self->GetJniEnv()); in artInvokeInterfaceTrampoline() 2506 JNIEnvExt* env = self->GetJniEnv(); in artInvokePolymorphic() 2629 JNIEnvExt* env = self->GetJniEnv(); in artInvokeCustom()
|
/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() 170 Thread::Current()->GetJniEnv()->SetCheckJniEnabled(true); in EnableDebugFeatures()
|
/art/runtime/jni/ |
D | java_vm_ext.cc | 92 self->GetJniEnv()->DeleteWeakGlobalRef(class_loader_); in ~SharedLibrary() 358 UnloadLibraries(self->GetJniEnv()->GetVm(), unload_libraries); in UnloadNativeLibraries() 442 *p_env = self->GetJniEnv(); in AttachCurrentThreadInternal() 473 *p_env = Thread::Current()->GetJniEnv(); in AttachCurrentThreadInternal() 732 thread->GetJniEnv()->SetCheckJniEnabled(*check_jni); in ThreadEnableCheckJni() 1221 delete Thread::Current()->GetJniEnv(); in JNI_CreateJavaVM() 1227 *p_env = Thread::Current()->GetJniEnv(); in JNI_CreateJavaVM()
|
D | jni_env_ext.cc | 64 *env = thread->GetJniEnv(); in GetEnvHandler() 295 JNIEnvExt* env = thread->GetJniEnv(); in ThreadResetFunctionTable()
|
/art/runtime/entrypoints/jni/ |
D | jni_entrypoints.cc | 107 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in artFindNativeMethodRunnable()
|
/art/adbconnection/ |
D | adbconnection.cc | 182 JNIEnv* env = thr->GetJniEnv(); in CreateAdbConnectionThread() 217 JNIEnv* env = self->GetJniEnv(); in CallbackFunction() 748 if (!art::Dbg::DdmHandleChunk(self->GetJniEnv(), in HandleDataWithoutAgent()
|
/art/tools/art_verifier/ |
D | art_verifier.cc | 67 WellKnownClasses::Init(self->GetJniEnv()); in Install()
|
/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()
|