Home
last modified time | relevance | path

Searched defs:thread (Results 1 – 25 of 86) sorted by relevance

1234

/art/runtime/
Dthread_list.cc117 bool ThreadList::Contains(Thread* thread) { in Contains()
122 for (const auto& thread : list_) { in Contains() local
137 for (const auto& thread : list_) { in DumpNativeStacks() local
214 void Run(Thread* thread) override { in Run()
279 for (const auto& thread : list_) { in AssertThreadsAreSuspended() local
334 for (const auto& thread : list_) { in RunCheckpoint() local
386 for (const auto& thread : suspended_count_modified_threads) { in RunCheckpoint() local
556 for (const auto& thread : list_) { in FlipThreadRoots() local
588 for (const auto& thread : other_threads) { in FlipThreadRoots() local
605 for (const auto& thread : other_threads) { in FlipThreadRoots() local
[all …]
Ddebugger.h50 static bool IsForcedInterpreterNeededForUpcall(Thread* thread, ArtMethod* m) in IsForcedInterpreterNeededForUpcall()
65 static bool IsForcedInterpreterNeededForException(Thread* thread) in IsForcedInterpreterNeededForException()
Dinstrumentation.h401 void MethodEnterEvent(Thread* thread, in MethodEnterEvent()
413 void MethodExitEvent(Thread* thread, in MethodExitEvent()
433 void DexPcMovedEvent(Thread* thread, in DexPcMovedEvent()
444 void Branch(Thread* thread, ArtMethod* method, uint32_t dex_pc, int32_t offset) const in Branch()
452 void FieldReadEvent(Thread* thread, in FieldReadEvent()
464 void FieldWriteEvent(Thread* thread, in FieldWriteEvent()
477 void WatchedFramePopped(Thread* thread, const ShadowFrame& frame) const in WatchedFramePopped()
Dthread-current-inl.h37 void* thread = __get_tls()[TLS_SLOT_ART_THREAD_SELF]; in Current() local
Dinstrumentation.cc61 Thread* thread, in MethodExited()
76 void InstrumentationListener::FieldWritten(Thread* thread, in FieldWritten()
298 void InstrumentationInstallStack(Thread* thread, void* arg) in InstrumentationInstallStack()
454 void Instrumentation::InstrumentThreadStack(Thread* thread) { in InstrumentThreadStack()
460 static void InstrumentationRestoreStack(Thread* thread, void* arg) in InstrumentationRestoreStack()
845 static void ResetQuickAllocEntryPointsForThread(Thread* thread, void* arg ATTRIBUTE_UNUSED) { in ResetQuickAllocEntryPointsForThread()
1201 void Instrumentation::MethodEnterEventImpl(Thread* thread, in MethodEnterEventImpl()
1219 void Instrumentation::MethodExitEventImpl(Thread* thread, in MethodExitEventImpl()
1237 template<> void Instrumentation::MethodExitEventImpl(Thread* thread, in MethodExitEventImpl()
1262 void Instrumentation::MethodUnwindEvent(Thread* thread, in MethodUnwindEvent()
[all …]
Dtrace.cc207 static void GetSample(Thread* thread, void* arg) REQUIRES_SHARED(Locks::mutator_lock_) { in GetSample()
225 static void ClearThreadStackTraceAndClockBase(Thread* thread, void* arg ATTRIBUTE_UNUSED) { in ClearThreadStackTraceAndClockBase()
232 void Trace::CompareAndUpdateStackTrace(Thread* thread, in CompareAndUpdateStackTrace()
735 void Trace::MethodEntered(Thread* thread, in MethodEntered()
746 void Trace::MethodExited(Thread* thread, in MethodExited()
762 void Trace::MethodUnwind(Thread* thread, in MethodUnwind()
796 void Trace::ReadClocks(Thread* thread, uint32_t* thread_clock_diff, uint32_t* wall_clock_diff) { in ReadClocks()
825 bool Trace::RegisterThread(Thread* thread) { in RegisterThread()
880 void Trace::LogMethodTraceEvent(Thread* thread, ArtMethod* method, in LogMethodTraceEvent()
1025 void Trace::StoreExitingThreadInfo(Thread* thread) { in StoreExitingThreadInfo()
/art/test/924-threads/
Dthreads.cc83 jthread thread = nullptr; in Java_art_Test924_getCurrentThread() local
92 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jthread thread) { in Java_art_Test924_getThreadInfo()
140 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jthread thread) { in Java_art_Test924_getThreadState()
170 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jthread thread) { in Java_art_Test924_getTLS()
180 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, 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/
Devents-inl.h193 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()
478 inline void EventHandler::DispatchClassLoadOrPrepareEvent(art::Thread* thread, in DispatchClassLoadOrPrepareEvent()
621 inline bool EventHandler::ShouldDispatchOnThread(ArtJvmTiEnv* env, art::Thread* thread) const { in ShouldDispatchOnThread()
633 art::Thread* thread, in ShouldDispatch()
Dti_thread.cc104 ScopedLocalRef<jthread> thread(self->GetJniEnv(), GetThreadObject(self)); in Post() local
230 bool ThreadUtil::GetNativeThread(jthread thread, in GetNativeThread()
247 bool ThreadUtil::GetAliveNativeThread(jthread thread, in GetAliveNativeThread()
261 jvmtiError ThreadUtil::GetThreadInfo(jvmtiEnv* env, jthread thread, jvmtiThreadInfo* info_ptr) { in GetThreadInfo()
567 jthread thread, in GetThreadState()
694 jvmtiError ThreadUtil::SetThreadLocalStorage(jvmtiEnv* env, jthread thread, const void* data) { in SetThreadLocalStorage()
711 JvmtiGlobalTLSData* ThreadUtil::GetOrCreateGlobalTLSData(art::Thread* thread) { in GetOrCreateGlobalTLSData()
721 JvmtiGlobalTLSData* ThreadUtil::GetGlobalTLSData(art::Thread* thread) { in GetGlobalTLSData()
726 jthread thread, in GetThreadLocalStorage()
759 jthread thread; member
[all …]
DOpenjdkJvmTi.cc145 static jvmtiError GetThreadState(jvmtiEnv* env, jthread thread, jint* thread_state_ptr) { in GetThreadState()
160 static jvmtiError SuspendThread(jvmtiEnv* env, jthread thread) { in SuspendThread()
175 static jvmtiError ResumeThread(jvmtiEnv* env, jthread thread) { in ResumeThread()
190 static jvmtiError StopThread(jvmtiEnv* env, jthread thread, jobject exception) { in StopThread()
196 static jvmtiError InterruptThread(jvmtiEnv* env, jthread thread) { in InterruptThread()
202 static jvmtiError GetThreadInfo(jvmtiEnv* env, jthread thread, jvmtiThreadInfo* info_ptr) { in GetThreadInfo()
208 jthread thread, in GetOwnedMonitorInfo()
220 jthread thread, in GetOwnedMonitorStackDepthInfo()
232 jthread thread, in GetCurrentContendedMonitor()
240 jthread thread, in RunAgentThread()
[all …]
/art/runtime/native/
Djava_lang_Thread.cc46 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_isInterrupted() local
76 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_nativeGetStatus() local
118 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_getNativeTid() local
129 Thread* thread = soa.Self(); in Thread_holdsLock() local
136 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_interrupt0() local
157 Thread* thread = thread_list->SuspendThreadByPeer(peer, in Thread_setNativeName() local
182 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_setPriority0() local
Ddalvik_system_VMStack.cc61 Thread* thread = thread_list->SuspendThreadByPeer(peer, in GetThreadStack() local
86 REQUIRES_SHARED(Locks::mutator_lock_) -> jobject { in VMStack_fillStackTraceElements()
165 auto fn = [](Thread* thread, const ScopedFastNativeObjectAccess& soaa) in VMStack_getAnnotatedThreadStackTrace()
166 REQUIRES_SHARED(Locks::mutator_lock_) -> jobjectArray { in VMStack_getAnnotatedThreadStackTrace()
/art/test/911-get-stack-trace/src/art/
DFrames.java133 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/
DMain.java19 SpinThread thread = new SpinThread(); in main() local
/art/test/1919-vminit-thread-start-timing/
Dvminit.cc58 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/
Dhprofdump.py174 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/151-OpenFileLimit/src/
DMain.java48 Thread thread = new Thread() { in main() local
/art/test/1922-owned-monitors-info/
Downed_monitors.cc92 JNIEnv* env, jclass, jthread thread) { in Java_art_Test1922_getOwnedMonitorStackDepthInfo()
119 jthread thread) { in Java_art_Test1922_getOwnedMonitors()
/art/runtime/gc/space/
Dbump_pointer_space.cc105 size_t BumpPointerSpace::RevokeThreadLocalBuffers(Thread* thread) { in RevokeThreadLocalBuffers()
123 void BumpPointerSpace::AssertThreadLocalBuffersAreRevoked(Thread* thread) { in AssertThreadLocalBuffersAreRevoked()
206 void BumpPointerSpace::RevokeThreadLocalBuffersLocked(Thread* thread) { in RevokeThreadLocalBuffersLocked()
/art/test/1960-obsolete-jit-multithread-native/src/
DMain.java78 private String thread; field in Main.TestWatcher
79 public TestWatcher(String thread) { in TestWatcher()
/art/test/1961-obsolete-jit-multithread/src/
DMain.java76 private String thread; field in Main.TestWatcher
77 public TestWatcher(String thread) { in TestWatcher()
/art/test/167-visit-locks/
Dvisit_locks.cc42 VisitLocks(Thread* thread, Context* context) in Java_Main_testVisitLocks()
/art/test/911-get-stack-trace/
Dstack_trace.cc129 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jthread thread, jint start, jint max) { in Java_art_PrintThread_getStackTrace()
208 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jthread thread) { in Java_art_Frames_getFrameCount()
218 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jthread thread, jint depth) { in Java_art_Frames_getFrameLocation()
/art/test/1939-proxy-frames/src/art/
DTest1939.java38 Thread thread, in invoke()
/art/test/ti-stress/
Dstress.cc123 ScopedThreadInfo(jvmtiEnv* jvmtienv, JNIEnv* env, jthread thread) in ScopedThreadInfo()
357 jthread thread, in doJvmtiMethodBind()
437 jthread thread, in FieldAccessHook()
505 jthread thread, in FieldModificationHook()
531 jthread thread, in MethodExitHook()
552 jthread thread, in MethodEntryHook()
565 jthread thread, in ClassPrepareHook()
599 jthread thread, in SingleStepHook()

1234