Searched refs:peer (Results 1 - 11 of 11) sorted by relevance
/art/openjdkjvmti/ |
H A D | ti_threadgroup.cc | 157 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 D | ti_thread.cc | 233 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...] |
H A D | ti_stack.cc | 363 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 D | ti_class.cc | 275 art::ObjPtr<art::mirror::Object> peer(thread->GetPeer()); 278 peer.IsNull() ? nullptr : thread->GetJniEnv()->AddLocalReference<jthread>(peer)); 302 art::ObjPtr<art::mirror::Object> peer(thread->GetPeer()); 305 peer.IsNull() ? nullptr : thread->GetJniEnv()->AddLocalReference<jthread>(peer));
|
/art/runtime/native/ |
H A D | dalvik_system_VMStack.cc | 41 jobject peer, 45 ObjPtr<mirror::Object> decoded_peer = soa.Decode<mirror::Object>(peer); 61 Thread* thread = thread_list->SuspendThreadByPeer(peer,
|
H A D | java_lang_Thread.cc | 135 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 D | thread_list.cc | 887 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 D | thread.cc | 128 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 D | thread_list.h | 80 // Suspend a thread using a peer, typically used by the debugger. Returns the thread on success, 81 // else null. The peer is used to identify the thread to avoid races with the thread terminating. 85 Thread* SuspendThreadByPeer(jobject peer,
|
H A D | debugger.cc | 2357 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...] |
H A D | thread.h | 164 // Creates a new native thread corresponding to the given managed peer. 166 static void CreateNativeThread(JNIEnv* env, jobject peer, size_t stack_size, bool daemon); 168 // Attaches the calling native thread to the runtime, returning the new native peer. 172 // Attaches the calling native thread to the runtime, returning the new native peer. 386 // Returns the java.lang.Thread's name, or null if this Thread* doesn't have a peer. 405 // the thread's stack may have not been flipped yet and peer may be a from-space (stale) ref. 531 // is null, the thread's thread-group is loaded from the peer. 1282 // Attaches the calling native thread to the runtime, returning the new native peer. 1293 ObjPtr<mirror::Object> peer, 1607 // Our managed peer (a [all...] |
Completed in 515 milliseconds