Lines Matching refs:peer
120 static const char* kThreadNameDuringStartup = "<native thread without managed peer>";
432 // Copy peer into self, deleting global reference when done.
623 // Use global JNI ref to hold peer live while child thread starts.
764 // Run the action that is acting on the peer.
797 // a native peer!
804 LOG(ERROR) << "Exception creating thread peer:";
826 // Install the given peer.
857 ScopedLocalRef<jobject> peer(env, env->AllocObject(WellKnownClasses::java_lang_Thread));
858 if (peer.get() == nullptr) {
864 tlsPtr_.opeer = soa.Decode<mirror::Object>(peer.get()).Ptr();
866 env->CallNonvirtualVoidMethod(peer.get(),
876 env->SetLongField(peer.get(), WellKnownClasses::java_lang_Thread_nativePeer,
929 ScopedLocalRef<jobject> peer(env, env->AllocObject(WellKnownClasses::java_lang_Thread));
930 if (peer.get() == nullptr) {
944 soa.Decode<mirror::Object>(peer.get()),
951 soa.Decode<mirror::Object>(peer.get()),
958 return peer.release();
963 ObjPtr<mirror::Object> peer,
969 SetBoolean<kTransactionActive>(peer, thread_is_daemon);
971 SetObject<kTransactionActive>(peer, soa.Decode<mirror::Object>(thread_group));
973 SetObject<kTransactionActive>(peer, soa.Decode<mirror::Object>(thread_name));
975 SetInt<kTransactionActive>(peer, thread_priority);
1116 << ",peer=" << tlsPtr_.opeer
1994 // You might think you can check whether the peer is null, but the peer is actually created and
2166 ScopedLocalRef<jobject> peer(tlsPtr_.jni_env, soa.AddLocalReference<jobject>(tlsPtr_.opeer));
2174 tlsPtr_.jni_env->CallVoidMethod(peer.get(),
2189 ScopedLocalRef<jobject> peer(soa.Env(), soa.AddLocalReference<jobject>(tlsPtr_.opeer));
2193 peer.get());
2796 DO_THREAD_OFFSET(PeerOffset<ptr_size>(), "peer");
3597 mirror::Object* peer = tlsPtr_.opeer;
3600 // may have not been flipped yet and peer may be a from-space (stale) ref. So explicitly
3602 peer = art::ReadBarrier::Mark(peer);
3604 return peer;