Lines Matching refs:self

404     static void VisitStatic(art::Thread* self, art::ObjPtr<art::mirror::Class> klass, T& visitor)  in VisitStatic()
407 rv.Visit(self, klass, visitor); in VisitStatic()
410 void Visit(art::Thread* self, art::ObjPtr<art::mirror::Class> klass, T& visitor) in Visit()
415 Visit(self, klass->GetSuperClass(), visitor); in Visit()
419 art::mirror::Class::GetDirectInterface(self, klass, i); in Visit()
421 VisitInterface(self, inf_klass, visitor); in Visit()
425 void VisitInterface(art::Thread* self, art::ObjPtr<art::mirror::Class> inf_klass, T& visitor) in VisitInterface()
440 art::mirror::Class::GetDirectInterface(self, inf_klass, i); in VisitInterface()
442 VisitInterface(self, super_inf_klass, visitor); in VisitInterface()
695 art::Thread* self = art::Thread::Current(); in IterateOverInstancesOfClass() local
696 art::ScopedObjectAccess soa(self); // Now we know we have the shared lock. in IterateOverInstancesOfClass()
697 art::StackHandleScope<1> hs(self); in IterateOverInstancesOfClass()
757 art::Thread* self = art::Thread::Current(); in DoIterateThroughHeap() local
758 art::ScopedObjectAccess soa(self); // Now we know we have the shared lock. in DoIterateThroughHeap()
762 art::StackHandleScope<1> hs(self); in DoIterateThroughHeap()
1210 art::Thread* self = art::Thread::Current(); in VisitClass() local
1211 art::StackHandleScope<1> hs(self); in VisitClass()
1215 art::mirror::Class::ResolveDirectInterface(self, h_klass, i); in VisitClass()
1218 self->ClearException(); in VisitClass()
1397 art::Thread* self = art::Thread::Current(); in FollowReferences() local
1403 heap->IncrementDisableMovingGC(self); in FollowReferences()
1406 art::ScopedObjectAccess soa(self); // Now we know we have the shared lock. in FollowReferences()
1408 art::ScopedThreadSuspension sts(self, art::kWaitingForVisitObjects); in FollowReferences()
1413 : art::ObjPtr<art::mirror::Class>::DownCast(self->DecodeJObject(klass)); in FollowReferences()
1416 self->DecodeJObject(initial_object), in FollowReferences()
1425 heap->DecrementDisableMovingGC(self); in FollowReferences()
1440 explicit ReportClassVisitor(art::Thread* self) : self_(self) {} in GetLoadedClasses() argument
1454 art::Thread* self = art::Thread::Current(); in GetLoadedClasses() local
1455 ReportClassVisitor rcv(self); in GetLoadedClasses()
1457 art::ScopedObjectAccess soa(self); in GetLoadedClasses()
1521 art::Thread* self = art::Thread::Current(); in GetObjectHeapId() local
1534 if (!art::Locks::mutator_lock_->IsSharedHeld(self)) { in GetObjectHeapId()
1535 if (!self->IsThreadSuspensionAllowable()) { in GetObjectHeapId()
1538 art::ScopedObjectAccess soa(self); in GetObjectHeapId()
1543 art::Locks::mutator_lock_->AssertSharedHeld(self); in GetObjectHeapId()
1697 static void ReplaceStrongRoots(art::Thread* self, const ObjectMap& map) in ReplaceStrongRoots() argument
1773 art::MutexLock mu(self, *art::Locks::thread_list_lock_); in ReplaceStrongRoots()
1790 static void ReplaceWeakRoots(art::Thread* self, in ReplaceWeakRoots() argument
1814 event_handler->ForEachEnv(self, [&](ArtJvmTiEnv* env) { in ReplaceWeakRoots()
1816 art::Locks::mutator_lock_->AssertExclusiveHeld(self); in ReplaceWeakRoots()
1827 env, self, &obsolete_tag, &new_tag); in ReplaceWeakRoots()
1858 event_handler->ForEachEnv(self, [&](ArtJvmTiEnv* env) { in ReplaceWeakRoots()
1860 art::Locks::mutator_lock_->AssertExclusiveHeld(self); in ReplaceWeakRoots()
1875 void HeapExtensions::ReplaceReference(art::Thread* self, in ReplaceReference() argument
1879 ReplaceReferences(self, map); in ReplaceReference()
1882 void HeapExtensions::ReplaceReferences(art::Thread* self, const ObjectMap& map) { in ReplaceReferences() argument
1884 ReplaceStrongRoots(self, map); in ReplaceReferences()
1885 ReplaceWeakRoots(self, HeapExtensions::gEventHandler, map); in ReplaceReferences()
1892 art::Thread* self = art::Thread::Current(); in ChangeArraySize() local
1893 ScopedNoUserCodeSuspension snucs(self); in ChangeArraySize()
1894 art::ScopedObjectAccess soa(self); in ChangeArraySize()
1909 art::StackHandleScope<2> hs(self); in ChangeArraySize()
1914 art::mirror::ObjectArray<art::mirror::Object>::Alloc(self, old_arr->GetClass(), new_size)); in ChangeArraySize()
1918 new_arr.Assign(art::mirror::Array::CopyOf(old_arr, self, new_size)); in ChangeArraySize()
1921 self->AssertPendingOOMException(); in ChangeArraySize()
1924 << self->GetException()->Dump(); in ChangeArraySize()
1925 self->ClearException(); in ChangeArraySize()
1928 self->AssertNoPendingException(); in ChangeArraySize()
1931 art::ScopedThreadSuspension sts(self, art::ThreadState::kSuspended); in ChangeArraySize()
1933 self, art::gc::GcCause::kGcCauseDebugger, art::gc::CollectorType::kCollectorTypeDebugger); in ChangeArraySize()
1976 ReplaceReference(self, old_arr.Get(), new_arr.Get()); in ChangeArraySize()