/art/tools/tracefast-plugin/ |
D | tracefast.cc | 46 void MethodEntered([[maybe_unused]] art::Thread* thread, in MethodEntered() 50 void MethodExited([[maybe_unused]] art::Thread* thread, in MethodExited() 56 void MethodExited([[maybe_unused]] art::Thread* thread, in MethodExited() 62 void MethodUnwind([[maybe_unused]] art::Thread* thread, in MethodUnwind() 67 void DexPcMoved([[maybe_unused]] art::Thread* thread, in DexPcMoved() 73 void FieldRead([[maybe_unused]] art::Thread* thread, in FieldRead() 80 void FieldWritten([[maybe_unused]] art::Thread* thread, in FieldWritten() 88 void FieldWritten([[maybe_unused]] art::Thread* thread, in FieldWritten() 96 void ExceptionThrown([[maybe_unused]] art::Thread* thread, in ExceptionThrown() 104 void Branch([[maybe_unused]] art::Thread* thread, in Branch() [all …]
|
/art/runtime/ |
D | thread_list.cc | 114 bool ThreadList::Contains(Thread* thread) { in Contains() 125 for (const auto& thread : list_) { in DumpNativeStacks() local 170 Thread* thread; in DumpUnattachedThreads() local 200 void Run(Thread* thread) override { in Run() 278 for (const auto& thread : list_) { in AssertOtherThreadsAreSuspended() local 325 for (const auto& thread : list_) { in RunCheckpoint() local 378 for (auto& thread : suspended_count_modified_threads) { in RunCheckpoint() local 408 [](Thread* thread) { return thread == nullptr; })); in RunCheckpoint() 863 for (const auto& thread : list_) { in SuspendAllInternal() local 925 for (const auto& thread : list_) { in SuspendAllInternal() local [all …]
|
D | instrumentation.h | 444 void MethodEnterEvent(Thread* thread, ArtMethod* method) const in MethodEnterEvent() 453 void MethodExitEvent(Thread* thread, in MethodExitEvent() 470 void DexPcMovedEvent(Thread* thread, in DexPcMovedEvent() 481 void Branch(Thread* thread, ArtMethod* method, uint32_t dex_pc, int32_t offset) const in Branch() 489 void FieldReadEvent(Thread* thread, in FieldReadEvent() 501 void FieldWriteEvent(Thread* thread, in FieldWriteEvent() 514 void WatchedFramePopped(Thread* thread, const ShadowFrame& frame) const in WatchedFramePopped()
|
D | debugger.h | 52 static bool IsForcedInterpreterNeededForUpcall(Thread* thread, ArtMethod* m) in IsForcedInterpreterNeededForUpcall() 67 static bool IsForcedInterpreterNeededForException(Thread* thread) in IsForcedInterpreterNeededForException()
|
D | instrumentation.cc | 66 Thread* thread, in MethodExited() 79 void InstrumentationListener::FieldWritten(Thread* thread, in FieldWritten() 280 bool Instrumentation::NeedsDexPcEvents(ArtMethod* method, Thread* thread) { in NeedsDexPcEvents() 489 void InstrumentationInstallStack(Thread* thread, bool deopt_all_frames) in InstrumentationInstallStack() 569 void UpdateNeedsDexPcEventsOnStack(Thread* thread) REQUIRES(Locks::mutator_lock_) { in UpdateNeedsDexPcEventsOnStack() 591 void ReportMethodEntryForOnStackMethods(InstrumentationListener* listener, Thread* thread) in ReportMethodEntryForOnStackMethods() 641 void Instrumentation::InstrumentThreadStack(Thread* thread, bool force_deopt) { in InstrumentThreadStack() 654 static void InstrumentationRestoreStack(Thread* thread) REQUIRES(Locks::mutator_lock_) { in InstrumentationRestoreStack() 687 static bool HasFramesNeedingForceDeopt(Thread* thread) REQUIRES(Locks::mutator_lock_) { in HasFramesNeedingForceDeopt() 1089 static void ResetQuickAllocEntryPointsForThread(Thread* thread, [[maybe_unused]] void* arg) { in ResetQuickAllocEntryPointsForThread() [all …]
|
D | thread-current-inl.h | 37 void* thread = __get_tls()[TLS_SLOT_ART_THREAD_SELF]; in Current() local
|
D | instrumentation_test.cc | 58 void MethodEntered([[maybe_unused]] Thread* thread, [[maybe_unused]] ArtMethod* method) override in MethodEntered() 63 void MethodExited([[maybe_unused]] Thread* thread, in MethodExited() 71 void MethodExited([[maybe_unused]] Thread* thread, in MethodExited() 79 void MethodUnwind([[maybe_unused]] Thread* thread, in MethodUnwind() 86 void DexPcMoved([[maybe_unused]] Thread* thread, in DexPcMoved() 94 void FieldRead([[maybe_unused]] Thread* thread, in FieldRead() 102 void FieldWritten([[maybe_unused]] Thread* thread, in FieldWritten() 112 void FieldWritten([[maybe_unused]] Thread* thread, in FieldWritten() 122 void ExceptionThrown([[maybe_unused]] Thread* thread, in ExceptionThrown() 134 void Branch([[maybe_unused]] Thread* thread, in Branch() [all …]
|
D | trace.cc | 476 static void GetSample(Thread* thread, void* arg) REQUIRES_SHARED(Locks::mutator_lock_) { in GetSample() 494 static void ClearThreadStackTraceAndClockBase(Thread* thread, [[maybe_unused]] void* arg) { in ClearThreadStackTraceAndClockBase() 501 void Trace::CompareAndUpdateStackTrace(Thread* thread, in CompareAndUpdateStackTrace() 1265 void Trace::DexPcMoved([[maybe_unused]] Thread* thread, in DexPcMoved() 1274 void Trace::FieldRead([[maybe_unused]] Thread* thread, in FieldRead() 1284 void Trace::FieldWritten([[maybe_unused]] Thread* thread, in FieldWritten() 1296 void Trace::MethodEntered(Thread* thread, ArtMethod* method) { in MethodEntered() 1303 void Trace::MethodExited(Thread* thread, in MethodExited() 1313 void Trace::MethodUnwind(Thread* thread, ArtMethod* method, [[maybe_unused]] uint32_t dex_pc) { in MethodUnwind() 1320 void Trace::ExceptionThrown([[maybe_unused]] Thread* thread, in ExceptionThrown() [all …]
|
/art/test/924-threads/ |
D | threads.cc | 83 jthread thread = nullptr; in Java_art_Test924_getCurrentThread() local 92 JNIEnv* env, [[maybe_unused]] jclass Main_klass, jthread thread) { in Java_art_Test924_getThreadInfo() 140 JNIEnv* env, [[maybe_unused]] jclass Main_klass, jthread thread) { in Java_art_Test924_getThreadState() 170 JNIEnv* env, [[maybe_unused]] jclass Main_klass, jthread thread) { in Java_art_Test924_getTLS() 180 JNIEnv* env, [[maybe_unused]] jclass Main_klass, jthread thread, jlong val) { in Java_art_Test924_setTLS() 191 jthread thread, in ThreadEvent() 215 jthread thread) { in ThreadStart() 221 jthread thread) { in ThreadEnd()
|
/art/openjdkjvmti/ |
D | events-inl.h | 193 inline std::vector<impl::EventHandlerFunc<kEvent>> EventHandler::CollectEvents(art::Thread* thread, in CollectEvents() 209 inline void EventHandler::DispatchClassFileLoadHookEvent(art::Thread* thread, in DispatchClassFileLoadHookEvent() 274 inline void EventHandler::DispatchEvent(art::Thread* thread, Args... args) const { in DispatchEvent() 288 inline void EventHandler::DispatchEvent(art::Thread* thread, JNIEnv* jnienv, Args... args) const { in DispatchEvent() 300 ArtJvmTiEnv* env, art::Thread* thread, JNIEnv* jnienv, Args... args) const { in DispatchEventOnEnv() 311 ArtJvmTiEnv* env, art::Thread* thread, Args... args) const { in DispatchEventOnEnv() 479 inline void EventHandler::DispatchClassLoadOrPrepareEvent(art::Thread* thread, in DispatchClassLoadOrPrepareEvent() 622 inline bool EventHandler::ShouldDispatchOnThread(ArtJvmTiEnv* env, art::Thread* thread) const { in ShouldDispatchOnThread() 634 art::Thread* thread, in ShouldDispatch()
|
D | OpenjdkJvmTi.cc | 139 static jvmtiError GetThreadState(jvmtiEnv* env, jthread thread, jint* thread_state_ptr) { in GetThreadState() 154 static jvmtiError SuspendThread(jvmtiEnv* env, jthread thread) { in SuspendThread() 169 static jvmtiError ResumeThread(jvmtiEnv* env, jthread thread) { in ResumeThread() 184 static jvmtiError StopThread(jvmtiEnv* env, jthread thread, jobject exception) { in StopThread() 190 static jvmtiError InterruptThread(jvmtiEnv* env, jthread thread) { in InterruptThread() 196 static jvmtiError GetThreadInfo(jvmtiEnv* env, jthread thread, jvmtiThreadInfo* info_ptr) { in GetThreadInfo() 202 jthread thread, in GetOwnedMonitorInfo() 214 jthread thread, in GetOwnedMonitorStackDepthInfo() 226 jthread thread, in GetCurrentContendedMonitor() 234 jthread thread, in RunAgentThread() [all …]
|
D | ti_thread.cc | 104 ScopedLocalRef<jthread> thread(self->GetJniEnv(), GetThreadObject(self)); in Post() local 224 bool ThreadUtil::GetNativeThread(jthread thread, in GetNativeThread() 243 bool ThreadUtil::GetAliveNativeThread(jthread thread, in GetAliveNativeThread() 257 jvmtiError ThreadUtil::GetThreadInfo(jvmtiEnv* env, jthread thread, jvmtiThreadInfo* info_ptr) { in GetThreadInfo() 572 jthread thread, in GetThreadState() 708 jvmtiError ThreadUtil::SetThreadLocalStorage(jvmtiEnv* env, jthread thread, const void* data) { in SetThreadLocalStorage() 725 JvmtiGlobalTLSData* ThreadUtil::GetOrCreateGlobalTLSData(art::Thread* thread) { in GetOrCreateGlobalTLSData() 735 JvmtiGlobalTLSData* ThreadUtil::GetGlobalTLSData(art::Thread* thread) { in GetGlobalTLSData() 740 jthread thread, in GetThreadLocalStorage() 773 jthread thread; member [all …]
|
/art/runtime/native/ |
D | java_lang_Thread.cc | 46 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_isInterrupted() local 77 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_nativeGetStatus() local 125 Thread* thread = soa.Self(); in Thread_holdsLock() local 132 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_interrupt0() local 152 Thread* thread = thread_list->SuspendThreadByPeer(peer, SuspendReason::kInternal); in Thread_setNativeName() local 171 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_setPriority0() local
|
D | dalvik_system_VMStack.cc | 52 Thread* thread = thread_list->SuspendThreadByPeer(peer, SuspendReason::kInternal); in GetThreadStack() local 78 REQUIRES_SHARED(Locks::mutator_lock_) -> jobject { in VMStack_fillStackTraceElements() 157 auto fn = [](Thread* thread, const ScopedFastNativeObjectAccess& soaa) in VMStack_getAnnotatedThreadStackTrace() 158 REQUIRES_SHARED(Locks::mutator_lock_) -> jobjectArray { in VMStack_getAnnotatedThreadStackTrace()
|
/art/test/911-get-stack-trace/src/art/ |
D | Frames.java | 133 public static native int getFrameCount(Thread thread); in getFrameCount() 134 public static native Object[] getFrameLocation(Thread thread, int depth); in getFrameLocation()
|
/art/test/121-simple-suspend-check/src/ |
D | Main.java | 19 SpinThread thread = new SpinThread(); in main() local
|
/art/test/1919-vminit-thread-start-timing/ |
D | vminit.cc | 58 static void JNICALL ThreadStartCallback(jvmtiEnv *jvmti, JNIEnv* env, jthread thread) { in ThreadStartCallback() 89 ScopedLocalRef<jobject> thread(env, env->AllocObject(thread_klass.get())); in CreateAgentThread() local 108 static void JNICALL VMInitCallback(jvmtiEnv *jvmti, JNIEnv* env, jthread thread) { in VMInitCallback()
|
/art/tools/ahat/etc/ |
D | hprofdump.py | 174 thread = readu4(hprof) variable 196 thread = readu4(hprof) variable 204 thread = readu4(hprof) variable 224 thread = readu4(hprof) ; length -= 4 variable 241 thread = readu4(hprof) ; length -= 4 variable
|
/art/test/1922-owned-monitors-info/ |
D | owned_monitors.cc | 92 JNIEnv* env, jclass, jthread thread) { in Java_art_Test1922_getOwnedMonitorStackDepthInfo() 119 jthread thread) { in Java_art_Test1922_getOwnedMonitors()
|
/art/test/ti-stress/ |
D | stress.cc | 122 ScopedThreadInfo(jvmtiEnv* jvmtienv, JNIEnv* env, jthread thread) in ScopedThreadInfo() 356 jthread thread, in doJvmtiMethodBind() 436 jthread thread, in FieldAccessHook() 504 jthread thread, in FieldModificationHook() 530 jthread thread, in MethodExitHook() 551 jthread thread, in MethodEntryHook() 564 jthread thread, in ClassPrepareHook() 598 jthread thread, in SingleStepHook() 681 [[maybe_unused]] jthread thread) { in PerformFinalSetupVMInit()
|
/art/test/151-OpenFileLimit/src/ |
D | Main.java | 51 Thread thread = new Thread() { in main() local
|
/art/test/1960-obsolete-jit-multithread-native/src/ |
D | Main.java | 78 private String thread; field in Main.TestWatcher 79 public TestWatcher(String thread) { in TestWatcher()
|
/art/test/1961-obsolete-jit-multithread/src/ |
D | Main.java | 76 private String thread; field in Main.TestWatcher 77 public TestWatcher(String thread) { in TestWatcher()
|
/art/test/167-visit-locks/ |
D | visit_locks.cc | 42 VisitLocks(Thread* thread, Context* context) in Java_Main_testVisitLocks()
|
/art/test/912-classes/ |
D | classes.cc | 299 jthread thread, in ClassLoadCallback() 321 jthread thread, in ClassPrepareCallback() 343 static std::string GetThreadName(jvmtiEnv* jenv, JNIEnv* jni_env, jthread thread) { in GetThreadName() 368 JNIEnv* env, [[maybe_unused]] jclass Main_klass , jboolean enable, jthread thread) { in Java_art_Test912_enableClassLoadPreparePrintEvents() 397 ScopedLocalRef<jobject> thread(env, env->AllocObject(thread_klass.get())); in RunEventThread() local 452 [[maybe_unused]] jthread thread, in ClassLoadCallback() 473 [[maybe_unused]] jthread thread, in ClassPrepareCallback() 612 [[maybe_unused]] jclass klass) -> void { in Java_art_Test912_runRecursiveClassPrepareEvents()
|