Home
last modified time | relevance | path

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

1234

/art/runtime/
Dthread_list.cc121 bool ThreadList::Contains(Thread* thread) { in Contains()
132 for (const auto& thread : list_) { in DumpNativeStacks() local
177 Thread* thread; in DumpUnattachedThreads() local
207 void Run(Thread* thread) override { in Run()
285 for (const auto& thread : list_) { in AssertThreadsAreSuspended() local
340 for (const auto& thread : list_) { in RunCheckpoint() local
392 for (const auto& thread : suspended_count_modified_threads) { in RunCheckpoint() local
617 for (const auto& thread : other_threads) { in FlipThreadRoots() local
718 for (const auto& thread : list_) { in SuspendAllInternal() local
759 for (const auto& thread : list_) { in SuspendAllInternal() local
[all …]
Dinstrumentation.h429 void MethodEnterEvent(Thread* thread, ArtMethod* method) const in MethodEnterEvent()
438 void MethodExitEvent(Thread* thread, in MethodExitEvent()
455 void DexPcMovedEvent(Thread* thread, in DexPcMovedEvent()
466 void Branch(Thread* thread, ArtMethod* method, uint32_t dex_pc, int32_t offset) const in Branch()
474 void FieldReadEvent(Thread* thread, in FieldReadEvent()
486 void FieldWriteEvent(Thread* thread, in FieldWriteEvent()
499 void WatchedFramePopped(Thread* thread, const ShadowFrame& frame) const in WatchedFramePopped()
Dinstrumentation.cc66 Thread* thread, in MethodExited()
79 void InstrumentationListener::FieldWritten(Thread* thread, in FieldWritten()
277 bool Instrumentation::NeedsDexPcEvents(ArtMethod* method, Thread* thread) { in NeedsDexPcEvents()
486 void InstrumentationInstallStack(Thread* thread, bool deopt_all_frames) in InstrumentationInstallStack()
566 void UpdateNeedsDexPcEventsOnStack(Thread* thread) REQUIRES(Locks::mutator_lock_) { in UpdateNeedsDexPcEventsOnStack()
588 void ReportMethodEntryForOnStackMethods(InstrumentationListener* listener, Thread* thread) in ReportMethodEntryForOnStackMethods()
638 void Instrumentation::InstrumentThreadStack(Thread* thread, bool force_deopt) { in InstrumentThreadStack()
651 static void InstrumentationRestoreStack(Thread* thread) REQUIRES(Locks::mutator_lock_) { in InstrumentationRestoreStack()
684 static bool HasFramesNeedingForceDeopt(Thread* thread) REQUIRES(Locks::mutator_lock_) { in HasFramesNeedingForceDeopt()
988 static void ResetQuickAllocEntryPointsForThread(Thread* thread, void* arg ATTRIBUTE_UNUSED) { in ResetQuickAllocEntryPointsForThread()
[all …]
Ddebugger.h51 static bool IsForcedInterpreterNeededForUpcall(Thread* thread, ArtMethod* m) in IsForcedInterpreterNeededForUpcall()
66 static bool IsForcedInterpreterNeededForException(Thread* thread) in IsForcedInterpreterNeededForException()
Dthread-current-inl.h37 void* thread = __get_tls()[TLS_SLOT_ART_THREAD_SELF]; in Current() local
Dtrace.cc323 static void GetSample(Thread* thread, void* arg) REQUIRES_SHARED(Locks::mutator_lock_) { in GetSample()
341 static void ClearThreadStackTraceAndClockBase(Thread* thread, void* arg ATTRIBUTE_UNUSED) { in ClearThreadStackTraceAndClockBase()
348 void Trace::CompareAndUpdateStackTrace(Thread* thread, in CompareAndUpdateStackTrace()
570 void Trace::UpdateThreadsList(Thread* thread) { in UpdateThreadsList()
933 void Trace::MethodEntered(Thread* thread, ArtMethod* method) { in MethodEntered()
940 void Trace::MethodExited(Thread* thread, in MethodExited()
950 void Trace::MethodUnwind(Thread* thread, in MethodUnwind()
982 void Trace::ReadClocks(Thread* thread, uint32_t* thread_clock_diff, uint64_t* timestamp_counter) { in ReadClocks()
1008 void Trace::RecordStreamingMethodEvent(Thread* thread, in RecordStreamingMethodEvent()
1101 void Trace::FlushStreamingBuffer(Thread* thread) { in FlushStreamingBuffer()
[all …]
/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.cc105 ScopedLocalRef<jthread> thread(self->GetJniEnv(), GetThreadObject(self)); in Post() local
225 bool ThreadUtil::GetNativeThread(jthread thread, in GetNativeThread()
244 bool ThreadUtil::GetAliveNativeThread(jthread thread, in GetAliveNativeThread()
258 jvmtiError ThreadUtil::GetThreadInfo(jvmtiEnv* env, jthread thread, jvmtiThreadInfo* info_ptr) { in GetThreadInfo()
568 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.cc139 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 …]
/art/runtime/native/
Djava_lang_Thread.cc46 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_isInterrupted() local
77 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_nativeGetStatus() local
124 Thread* thread = soa.Self(); in Thread_holdsLock() local
131 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_interrupt0() local
152 Thread* thread = thread_list->SuspendThreadByPeer(peer, in Thread_setNativeName() local
176 Thread* thread = Thread::FromManagedThread(soa, java_thread); in Thread_setPriority0() local
Ddalvik_system_VMStack.cc61 Thread* thread = thread_list->SuspendThreadByPeer(peer, in GetThreadStack() local
85 REQUIRES_SHARED(Locks::mutator_lock_) -> jobject { in VMStack_fillStackTraceElements()
164 auto fn = [](Thread* thread, const ScopedFastNativeObjectAccess& soaa) in VMStack_getAnnotatedThreadStackTrace()
165 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/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/test/151-OpenFileLimit/src/
DMain.java51 Thread thread = new Thread() { in main() local
/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/1960-obsolete-jit-multithread-native/src/
DMain.java78 private String thread; field in Main.TestWatcher
79 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/runtime/gc/space/
Dbump_pointer_space.cc104 size_t BumpPointerSpace::RevokeThreadLocalBuffers(Thread* thread) { in RevokeThreadLocalBuffers()
122 void BumpPointerSpace::AssertThreadLocalBuffersAreRevoked(Thread* thread) { in AssertThreadLocalBuffersAreRevoked()
201 void BumpPointerSpace::RevokeThreadLocalBuffersLocked(Thread* thread) { in RevokeThreadLocalBuffersLocked()
/art/test/1939-proxy-frames/src/art/
DTest1939.java38 Thread thread, in invoke()
/art/test/129-ThreadGetId/src/
DMain.java67 Thread thread = pair.getKey(); in test_getStackTraces() local

1234