Searched defs:peer (Results 1 - 7 of 7) sorted by relevance

/art/openjdkjvmti/
H A Dti_threadgroup.cc157 art::ObjPtr<art::mirror::Object> peer)
164 art::ObjPtr<art::mirror::Object> group = thread_group_field->GetObject(peer);
178 art::ObjPtr<art::mirror::Object> peer = t->GetPeerFromOtherThread(); variable
179 if (peer == nullptr) {
182 if (IsInDesiredThreadGroup(thread_group, peer)) {
183 thread_peers->push_back(peer);
H A Dti_stack.cc363 jthread peer = art::Runtime::Current()->GetJavaVM()->AddGlobalRef( local
365 thread_peers.push_back(peer);
500 art::ObjPtr<art::mirror::Object> peer = thread->GetPeerFromOtherThread(); local
502 if (peer == handles[index].Get()) {
617 art::ObjPtr<art::mirror::Object> peer = soa.Decode<art::mirror::Object>(thread_list[i]); local
618 art::ObjPtr<art::mirror::Class> klass = peer->GetClass();
621 bool started = started_field->GetBoolean(peer) != 0;
H A Dti_thread.cc233 art::ObjPtr<art::mirror::Object> peer = target->GetPeerFromOtherThread(); local
236 if (peer != nullptr) {
239 art::ObjPtr<art::mirror::Object> group = f->GetObject(peer);
249 art::ObjPtr<art::mirror::Object> ccl = peer != nullptr
250 ? context_class_loader_->GetObject(peer)
256 // Only the peer. This thread has either not been started, or is dead. Read things from
258 art::ObjPtr<art::mirror::Object> peer = soa.Decode<art::mirror::Object>(thread); local
264 art::ObjPtr<art::mirror::Object> name = f->GetObject(peer);
285 info_ptr->priority = static_cast<jint>(f->GetInt(peer));
292 info_ptr->is_daemon = f->GetBoolean(peer)
598 art::ObjPtr<art::mirror::Object> peer = thread->GetPeerFromOtherThread(); local
[all...]
/art/runtime/native/
H A Djava_lang_Thread.cc135 static void Thread_nativeSetName(JNIEnv* env, jobject peer, jstring java_name) { argument
139 if (soa.Decode<mirror::Object>(peer) == soa.Self()->GetPeer()) {
150 Thread* thread = thread_list->SuspendThreadByPeer(peer,
/art/runtime/
H A Dthread_list.cc887 jobject peer) {
891 peer, WellKnownClasses::java_lang_Thread_name)));
894 LOG(severity) << message << ": " << peer; local
897 LOG(severity) << message << ": " << peer << ":" << scoped_name_chars.c_str();
901 Thread* ThreadList::SuspendThreadByPeer(jobject peer, argument
921 thread = Thread::FromManagedThread(soa, peer);
925 // If we incremented the suspend count but the thread reset its peer, we need to
937 peer);
978 ATRACE_BEGIN(StringPrintf("SuspendThreadByPeer suspended %s for peer=%p", name.c_str(),
979 peer)
884 ThreadSuspendByPeerWarning(Thread* self, LogSeverity severity, const char* message, jobject peer) argument
[all...]
H A Dthread.cc128 static const char* kThreadNameDuringStartup = "<native thread without managed peer>";
452 // Copy peer into self, deleting global reference when done.
663 // Use global JNI ref to hold peer live while child thread starts.
806 // Run the action that is acting on the peer.
839 // a native peer!
847 LOG(ERROR) << "Exception creating thread peer:";
869 // Install the given peer.
900 ScopedLocalRef<jobject> peer(env, env->AllocObject(WellKnownClasses::java_lang_Thread));
901 if (peer.get() == nullptr) {
907 tlsPtr_.opeer = soa.Decode<mirror::Object>(peer
1005 InitPeer(ScopedObjectAccessAlreadyRunnable& soa, ObjPtr<mirror::Object> peer, jboolean thread_is_daemon, jobject thread_group, jobject thread_name, jint thread_priority) argument
4017 mirror::Object* peer = tlsPtr_.opeer; local
[all...]
H A Ddebugger.cc2357 static bool IsInDesiredThreadGroup(mirror::Object* desired_thread_group, mirror::Object* peer)
2365 ObjPtr<mirror::Object> group = thread_group_field->GetObject(peer);
2387 mirror::Object* peer = t->GetPeerFromOtherThread(); local
2388 if (peer == nullptr) {
2389 // peer might be null if the thread is still starting up. We can't tell the debugger about
2392 // rather than their peer's mirror::Object*, we could fix this.
2396 if (IsInDesiredThreadGroup(thread_group, peer)) {
2397 thread_ids->push_back(gRegistry->Add(peer));
2517 ScopedLocalRef<jobject> peer(self->GetJniEnv(), nullptr);
2521 peer
2545 mirror::Object* peer = gRegistry->Get<mirror::Object*>(thread_id, &error); local
[all...]

Completed in 5776 milliseconds