Home
last modified time | relevance | path

Searched refs:jthread (Results 1 – 25 of 26) sorted by relevance

12

/art/runtime/openjdkjvmti/
Dti_thread.h54 static jvmtiError GetAllThreads(jvmtiEnv* env, jint* threads_count_ptr, jthread** threads_ptr);
56 static jvmtiError GetCurrentThread(jvmtiEnv* env, jthread* thread_ptr);
58 static jvmtiError GetThreadInfo(jvmtiEnv* env, jthread thread, jvmtiThreadInfo* info_ptr);
60 static jvmtiError GetThreadState(jvmtiEnv* env, jthread thread, jint* thread_state_ptr);
62 static jvmtiError SetThreadLocalStorage(jvmtiEnv* env, jthread thread, const void* data);
63 static jvmtiError GetThreadLocalStorage(jvmtiEnv* env, jthread thread, void** data_ptr);
66 jthread thread,
Dti_stack.h50 static jvmtiError GetFrameCount(jvmtiEnv* env, jthread thread, jint* count_ptr);
53 jthread thread,
59 jthread thread,
67 const jthread* thread_list,
Dti_thread.cc61 jthread GetThreadObject(art::Thread* self) REQUIRES_SHARED(art::Locks::mutator_lock_) { in GetThreadObject()
65 return self->GetJniEnv()->AddLocalReference<jthread>(self->GetPeer()); in GetThreadObject()
70 ScopedLocalRef<jthread> thread(self->GetJniEnv(), GetThreadObject(self)); in Post()
146 jvmtiError ThreadUtil::GetCurrentThread(jvmtiEnv* env ATTRIBUTE_UNUSED, jthread* thread_ptr) { in GetCurrentThread()
151 jthread thread_peer; in GetCurrentThread()
155 thread_peer = soa.AddLocalReference<jthread>(self->GetPeer()); in GetCurrentThread()
163 static art::Thread* GetNativeThread(jthread thread, in GetNativeThread()
174 jvmtiError ThreadUtil::GetThreadInfo(jvmtiEnv* env, jthread thread, jvmtiThreadInfo* info_ptr) { in GetThreadInfo()
294 static art::ThreadState GetNativeThreadState(jthread thread, in GetNativeThreadState()
401 jthread thread, in GetThreadState()
[all …]
DOpenjdkJvmTi.cc129 static jvmtiError GetThreadState(jvmtiEnv* env, jthread thread, jint* thread_state_ptr) { in GetThreadState()
134 static jvmtiError GetCurrentThread(jvmtiEnv* env, jthread* thread_ptr) { in GetCurrentThread()
139 static jvmtiError GetAllThreads(jvmtiEnv* env, jint* threads_count_ptr, jthread** threads_ptr) { in GetAllThreads()
144 static jvmtiError SuspendThread(jvmtiEnv* env, jthread thread ATTRIBUTE_UNUSED) { in SuspendThread()
152 const jthread* request_list ATTRIBUTE_UNUSED, in SuspendThreadList()
159 static jvmtiError ResumeThread(jvmtiEnv* env, jthread thread ATTRIBUTE_UNUSED) { in ResumeThread()
167 const jthread* request_list ATTRIBUTE_UNUSED, in ResumeThreadList()
175 jthread thread ATTRIBUTE_UNUSED, in StopThread()
182 static jvmtiError InterruptThread(jvmtiEnv* env, jthread thread ATTRIBUTE_UNUSED) { in InterruptThread()
188 static jvmtiError GetThreadInfo(jvmtiEnv* env, jthread thread, jvmtiThreadInfo* info_ptr) { in GetThreadInfo()
[all …]
Dti_phase.cc54 inline static jthread GetCurrentJThread() { in GetCurrentJThread()
56 return soa.AddLocalReference<jthread>(soa.Self()->GetPeer()); in GetCurrentJThread()
74 ScopedLocalRef<jthread> thread(GetJniEnv(), GetCurrentJThread()); in NextRuntimePhase()
Dti_threadgroup.h53 jthread** threads_ptr,
Dti_threadgroup.cc218 jthread** threads_ptr, in GetThreadGroupChildren()
243 JvmtiUniquePtr<jthread[]> peers_uptr; in GetThreadGroupChildren()
246 peers_uptr = AllocJvmtiUniquePtr<jthread[]>(env, thread_peers.size(), &res); in GetThreadGroupChildren()
265 peers_uptr[i] = soa.AddLocalReference<jthread>(thread_peers[i]); in GetThreadGroupChildren()
Dti_stack.cc166 static jvmtiError GetThread(JNIEnv* env, jthread java_thread, art::Thread** thread) { in GetThread()
192 jthread java_thread, in GetStackTrace()
382 jthread thread_peer = current->GetJniEnv()->AddLocalReference<jthread>( in GetAllStackTraces()
403 const jthread* thread_list, in GetThreadListStackTraces()
622 jthread java_thread, in GetFrameCount()
690 jthread java_thread, in GetFrameLocation()
Devents.cc205 jthread thread_peer; in ObjectAllocated()
209 thread_peer = jni_env->AddLocalReference<jthread>(self->GetPeer()); in ObjectAllocated()
212 ScopedLocalRef<jthread> thread(jni_env, thread_peer); in ObjectAllocated()
Dti_method.cc59 ScopedLocalRef<jthread> thread_jni( in RegisterNativeMethod()
60 jnienv, PhaseUtil::IsLivePhase() ? jnienv->AddLocalReference<jthread>(thread->GetPeer()) in RegisterNativeMethod()
Dti_class.cc289 ScopedLocalRef<jthread> thread_jni( in ClassLoad()
290 thread->GetJniEnv(), thread->GetJniEnv()->AddLocalReference<jthread>(thread->GetPeer())); in ClassLoad()
317 ScopedLocalRef<jthread> thread_jni( in ClassPrepare()
318 thread->GetJniEnv(), thread->GetJniEnv()->AddLocalReference<jthread>(thread->GetPeer())); in ClassPrepare()
/art/runtime/openjdkjvmti/include/
Djvmti.h72 typedef jobject jthread; typedef
540 jthread thread;
610 jthread owner;
613 jthread* waiters;
615 jthread* notify_waiters;
723 jthread thread,
742 jthread thread,
748 jthread thread,
777 jthread thread,
787 jthread thread,
[all …]
/art/test/924-threads/
Dthreads.cc41 extern "C" JNIEXPORT jthread JNICALL Java_art_Test924_getCurrentThread( in Java_art_Test924_getCurrentThread()
43 jthread thread = nullptr; in Java_art_Test924_getCurrentThread()
52 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jthread thread) { in Java_art_Test924_getThreadInfo()
100 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jthread thread) { in Java_art_Test924_getThreadState()
112 jthread* threads; in Java_art_Test924_getAllThreads()
130 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jthread thread) { in Java_art_Test924_getTLS()
140 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jthread thread, jlong val) { in Java_art_Test924_setTLS()
151 jthread thread, in ThreadEvent()
175 jthread thread) { in ThreadStart()
181 jthread thread) { in ThreadEnd()
/art/runtime/openjdkjvm/
DOpenjdkJvm.cc349 JNIEXPORT void JVM_StartThread(JNIEnv* env, jobject jthread, jlong stack_size, jboolean daemon) { in JVM_StartThread() argument
350 art::Thread::CreateNativeThread(env, jthread, stack_size, daemon == JNI_TRUE); in JVM_StartThread()
353 JNIEXPORT void JVM_SetThreadPriority(JNIEnv* env, jobject jthread, jint prio) { in JVM_SetThreadPriority() argument
356 art::Thread* thread = art::Thread::FromManagedThread(soa, jthread); in JVM_SetThreadPriority()
378 JNIEXPORT void JVM_Interrupt(JNIEnv* env, jobject jthread) { in JVM_Interrupt() argument
381 art::Thread* thread = art::Thread::FromManagedThread(soa, jthread); in JVM_Interrupt()
387 JNIEXPORT jboolean JVM_IsInterrupted(JNIEnv* env, jobject jthread, jboolean clearInterrupted) { in JVM_IsInterrupted() argument
393 art::Thread* thread = art::Thread::FromManagedThread(soa, jthread); in JVM_IsInterrupted()
408 JNIEXPORT void JVM_SetNativeThreadName(JNIEnv* env, jobject jthread, jstring java_name) { in JVM_SetNativeThreadName() argument
412 if (soa.Decode<art::mirror::Object>(jthread) == soa.Self()->GetPeer()) { in JVM_SetNativeThreadName()
[all …]
/art/test/931-agent-thread/
Dagent_thread.cc40 jthread main_thread;
51 jthread this_thread; in AgentMain()
75 jthread* threads; in AgentMain()
140 jthread main_thread; in Java_art_Test931_testAgentThread()
/art/test/911-get-stack-trace/
Dstack_trace.cc128 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jthread thread, jint start, jint max) { in Java_art_PrintThread_getStackTrace()
173 std::unique_ptr<jthread[]> threads(new jthread[thread_count]); in Java_art_ThreadListTraces_getThreadListStackTraces()
207 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jthread thread) { in Java_art_Frames_getFrameCount()
217 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jthread thread, jint depth) { in Java_art_Frames_getFrameLocation()
/art/test/904-object-allocation/
Dtracking.cc51 jthread thread ATTRIBUTE_UNUSED, in ObjectAllocated()
77 JNIEnv* env, jclass, jthread thread, jboolean enable) { in Java_art_Test904_enableAllocationTracking()
/art/test/984-obsolete-invoke/
Dobsolete_invoke.cc34 jthread cur; in Java_art_Test984_getFirstObsoleteMethod984()
/art/test/912-classes/
Dclasses.cc298 jthread thread, in ClassLoadCallback()
320 jthread thread, in ClassPrepareCallback()
342 static std::string GetThreadName(jvmtiEnv* jenv, JNIEnv* jni_env, jthread thread) { in GetThreadName()
367 JNIEnv* env, jclass Main_klass ATTRIBUTE_UNUSED, jboolean enable, jthread thread) { in Java_art_Test912_enableClassLoadPreparePrintEvents()
394 jthread thread ATTRIBUTE_UNUSED, in ClassLoadCallback()
411 jthread thread ATTRIBUTE_UNUSED, in ClassPrepareCallback()
Dclasses_art.cc80 jthread thread ATTRIBUTE_UNUSED, in ClassLoadSeenCallback()
/art/test/925-threadgroups/
Dthreadgroups.cc92 jthread* threads; in Java_art_Test925_getThreadGroupChildren()
/art/test/ti-stress/
Dstress.cc89 jthread thread, in doJvmtiMethodBind()
182 jthread thread ATTRIBUTE_UNUSED) { in EnsureVMClassloaderInitializedCB()
/art/test/986-native-method-bind/
Dnative_bind.cc57 jthread thread ATTRIBUTE_UNUSED, in doJvmtiMethodBind()
/art/test/901-hello-ti-agent/
Dbasics.cc48 jthread thread ATTRIBUTE_UNUSED) { in VMInitCallback()
/art/test/ti-agent/
Djni_binder.cc198 jthread* threads; in FindClass()

12