Home
last modified time | relevance | path

Searched refs:thread_group (Results 1 – 7 of 7) sorted by relevance

/art/runtime/
Dthread.cc513 Thread* Thread::Attach(const char* thread_name, bool as_daemon, jobject thread_group, in Attach() argument
548 self->CreatePeer(thread_name, as_daemon, thread_group); in Attach()
567 void Thread::CreatePeer(const char* name, bool as_daemon, jobject thread_group) { in CreatePeer() argument
572 if (thread_group == nullptr) { in CreatePeer()
573 thread_group = runtime->GetMainThreadGroup(); in CreatePeer()
596 thread_group, thread_name.get(), thread_priority, thread_is_daemon); in CreatePeer()
613 InitPeer<true>(soa, thread_is_daemon, thread_group, thread_name.get(), thread_priority); in CreatePeer()
615 InitPeer<false>(soa, thread_is_daemon, thread_group, thread_name.get(), thread_priority); in CreatePeer()
626 void Thread::InitPeer(ScopedObjectAccess& soa, jboolean thread_is_daemon, jobject thread_group, in InitPeer() argument
631 SetObject<kTransactionActive>(tlsPtr_.opeer, soa.Decode<mirror::Object*>(thread_group)); in InitPeer()
[all …]
Djava_vm_ext.cc329 jobject thread_group = nullptr; in AttachCurrentThreadInternal() local
338 thread_group = args->group; in AttachCurrentThreadInternal()
341 if (!runtime->AttachCurrentThread(thread_name, as_daemon, thread_group, in AttachCurrentThreadInternal()
Dthread.h154 static Thread* Attach(const char* thread_name, bool as_daemon, jobject thread_group,
955 void CreatePeer(const char* name, bool as_daemon, jobject thread_group);
958 void InitPeer(ScopedObjectAccess& soa, jboolean thread_is_daemon, jobject thread_group,
Ddebugger.cc2071 mirror::Object* thread_group = Dbg::GetObjectRegistry()->Get<mirror::Object*>(thread_group_id, in DecodeThreadGroup() local
2076 if (thread_group == nullptr) { in DecodeThreadGroup()
2082 if (!c->IsAssignableFrom(thread_group->GetClass())) { in DecodeThreadGroup()
2088 return thread_group; in DecodeThreadGroup()
2094 mirror::Object* thread_group = DecodeThreadGroup(soa, thread_group_id, &error); in GetThreadGroupName() local
2101 mirror::String* s = reinterpret_cast<mirror::String*>(f->GetObject(thread_group)); in GetThreadGroupName()
2111 mirror::Object* thread_group = DecodeThreadGroup(soa, thread_group_id, &error); in GetThreadGroupParent() local
2120 parent = f->GetObject(thread_group); in GetThreadGroupParent()
2127 static void GetChildThreadGroups(ScopedObjectAccessUnchecked& soa, mirror::Object* thread_group, in GetChildThreadGroups() argument
2130 CHECK(thread_group != nullptr); in GetChildThreadGroups()
[all …]
Druntime.h222 bool AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group,
Druntime.cc1311 bool Runtime::AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group, in AttachCurrentThread() argument
1313 return Thread::Attach(thread_name, as_daemon, thread_group, create_peer) != nullptr; in AttachCurrentThread()
Ddebugger.h470 static void GetThreads(mirror::Object* thread_group, std::vector<JDWP::ObjectId>* thread_ids)