/art/runtime/gc/accounting/ |
D | atomic_stack.h | 53 return a < b.AsMirrorPtr(); in operator() 56 return a.AsMirrorPtr() < b; in operator() 61 return a.AsMirrorPtr() < b.AsMirrorPtr(); in operator() 118 DCHECK_EQ(begin_[i].AsMirrorPtr(), static_cast<T*>(nullptr)) in AtomicBumpBack() 128 DCHECK_EQ(begin_[i].AsMirrorPtr(), static_cast<T*>(nullptr)) << "i=" << i; in AssertAllZero() 148 return begin_[back_index_.load(std::memory_order_relaxed)].AsMirrorPtr(); in PopBack() 216 if (cur->AsMirrorPtr() == value) { in Contains()
|
D | remembered_set.cc | 76 if (target_space_->HasAddress(ref_ptr->AsMirrorPtr())) { in operator ()() 79 DCHECK(!target_space_->HasAddress(ref_ptr->AsMirrorPtr())); in operator ()() 100 if (target_space_->HasAddress(root->AsMirrorPtr())) { in VisitRoot() 102 root->Assign(collector_->MarkObject(root->AsMirrorPtr())); in VisitRoot() 103 DCHECK(!target_space_->HasAddress(root->AsMirrorPtr())); in VisitRoot()
|
D | mod_union_table.cc | 123 mirror::Object* ref = obj_ptr->AsMirrorPtr(); in MarkReference() 201 mirror::Object* ref = ref_ptr->AsMirrorPtr(); in operator ()() 218 if (mod_union_table_->ShouldAddReference(root->AsMirrorPtr())) { in VisitRoot() 221 mirror::Object* old_ref = root->AsMirrorPtr(); in VisitRoot() 304 DCHECK(!mod_union_table_->ShouldAddReference(root->AsMirrorPtr())); in VisitRoot() 346 CHECK(heap_->IsLiveObjectLocked(ref->AsMirrorPtr())); in Verify() 358 reference_set.insert(obj_ptr->AsMirrorPtr()); in Verify() 382 os << reinterpret_cast<const void*>(ref->AsMirrorPtr()) << ","; in Dump() 463 if (obj_ptr->AsMirrorPtr() != nullptr) { in UpdateAndMarkReferences()
|
D | mod_union_table_test.cc | 105 MarkObject(ref->AsMirrorPtr()); in MarkHeapReference()
|
/art/runtime/ |
D | read_barrier-inl.h | 58 MirrorType* ref = ref_addr->template AsMirrorPtr<kIsVolatile>(); in Barrier() 77 return ref_addr->template AsMirrorPtr<kIsVolatile>(); in Barrier() 79 MirrorType* ref = ref_addr->template AsMirrorPtr<kIsVolatile>(); in Barrier() 102 return ref_addr->template AsMirrorPtr<kIsVolatile>(); in Barrier() 157 MirrorType* ref = root->AsMirrorPtr(); in BarrierForRoot() 179 if (new_ref.AsMirrorPtr() != old_ref.AsMirrorPtr()) { in BarrierForRoot()
|
D | handle.h | 75 return down_cast<T*>(reference_->AsMirrorPtr()); in Get() 97 if (UNLIKELY(reference_->AsMirrorPtr() == nullptr)) { in ToJObject() 163 T* old = down_cast<T*>(ref->AsMirrorPtr()); in Assign() 170 T* old = down_cast<T*>(ref->AsMirrorPtr()); in Assign()
|
D | fault_handler.cc | 73 CHECK_EQ(actual_class, cls.AsMirrorPtr()); in SafeGetDeclaringClass() 80 return cls.AsMirrorPtr(); in SafeGetDeclaringClass() 92 CHECK_EQ(actual_class, cls.AsMirrorPtr()); in SafeGetClass() 99 return cls.AsMirrorPtr(); in SafeGetClass()
|
D | handle_scope_test.cc | 74 EXPECT_OBJ_PTR_EQ(ref_ptr->AsMirrorPtr(), c); in TEST_F()
|
D | class_table_test.cc | 62 roots_.insert(root->AsMirrorPtr()); in VisitRoot()
|
D | handle_scope-inl.h | 82 return GetReferences()[i].AsMirrorPtr(); in GetReference()
|
D | gc_root.h | 148 VisitRoot(roots[i]->AsMirrorPtr(), info); in VisitRoots()
|
D | thread-inl.h | 322 DCHECK(tlsPtr_.thread_local_alloc_stack_top->AsMirrorPtr() == nullptr); in PushOnThreadLocalAllocationStack()
|
/art/runtime/gc/collector/ |
D | semi_space-inl.h | 43 mirror::Object* obj = obj_ptr->AsMirrorPtr(); in MarkObject() 77 if (!to_space_->HasAddress(obj_ptr->AsMirrorPtr())) { in MarkObjectIfNotInToSpace()
|
D | semi_space.cc | 266 CHECK(!from_space_->HasAddress(root->AsMirrorPtr())); in VisitRoot() 365 mark_stack_->PushBack(obj.AsMirrorPtr()); in ResizeMarkStack() 465 return ref.AsMirrorPtr(); in MarkObject() 481 if (*root != ref.AsMirrorPtr()) { in VisitRoots() 482 *root = ref.AsMirrorPtr(); in VisitRoots() 611 mirror::Object* obj = object->AsMirrorPtr(); in IsNullOrMarkedHeapReference()
|
D | mark_sweep.cc | 397 mark_stack_->PushBack(obj.AsMirrorPtr()); in ResizeMarkStack() 420 mirror::Object* obj = ref->AsMirrorPtr(); in IsNullOrMarkedHeapReference() 562 MarkObject(ref->AsMirrorPtr(), nullptr, MemberOffset(0)); in MarkHeapReference() 601 MarkObjectNonNull(roots[i]->AsMirrorPtr()); in VisitRoots() 720 Mark(root->AsMirrorPtr()); in VisitRoot() 807 mirror::Object* const mark_stack_obj = mark_stack_[--mark_stack_pos_].AsMirrorPtr(); in Run() 821 obj = mark_stack_[--mark_stack_pos_].AsMirrorPtr(); in Run() 1158 mark_sweep_->MarkObjectNonNullParallel(roots[i]->AsMirrorPtr()); in VisitRoots() 1247 mirror::Object* const obj = objects[i].AsMirrorPtr(); in SweepArray() 1286 mirror::Object* const obj = objects[i].AsMirrorPtr(); in SweepArray() [all …]
|
D | concurrent_copying.cc | 161 mirror::Object* from_ref = field->AsMirrorPtr(); in MarkHeapReference() 168 if (field->AsMirrorPtr() != from_ref) { in MarkHeapReference() 178 field->Assign(Mark(self, field->AsMirrorPtr())); in MarkHeapReference() 495 mirror::Object* ref = root->AsMirrorPtr(); in VisitRoots() 609 CheckReference(root->AsMirrorPtr(), nullptr, MemberOffset(0)); in VisitRoot() 689 CheckReference(root->AsMirrorPtr()); in VisitRoot() 936 mirror::Object* ref = root->AsMirrorPtr(); in VisitRoots() 1083 CheckReference(root->AsMirrorPtr()); in VisitRoot() 1753 gc_mark_stack_->PushBack(ref.AsMirrorPtr()); in ExpandGcMarkStack() 1895 visitor(root->AsMirrorPtr()); in VisitRoot() [all …]
|
/art/runtime/mirror/ |
D | object_reference.h | 70 MirrorType* AsMirrorPtr() const { in AsMirrorPtr() function 118 MirrorType* AsMirrorPtr() const REQUIRES_SHARED(Locks::mutator_lock_) { in AsMirrorPtr() function
|
/art/runtime/gc/ |
D | reference_queue.cc | 163 ObjPtr<mirror::Object> forward_address = collector->MarkObject(referent_addr->AsMirrorPtr()); in EnqueueFinalizerReferences() 188 if (referent_addr->AsMirrorPtr() != nullptr) { in ForwardSoftReferences()
|
D | heap-visit-objects-inl.h | 113 mirror::Object* const obj = it->AsMirrorPtr(); in VisitObjectsInternal()
|
D | verification.cc | 178 Visit(root->AsMirrorPtr(), "!nativeRoot"); in VisitRoot()
|
/art/test/1945-proxy-method-arguments/ |
D | get_args.cc | 101 art::ObjPtr<mirror::Object> obj = ref_arg->AsMirrorPtr(); in GetProxyReferenceArgument()
|
/art/runtime/entrypoints/quick/ |
D | quick_jni_entrypoints.cc | 38 DCHECK(handle_on_stack->AsMirrorPtr() != nullptr) in ReadBarrierJni() 41 if (LIKELY(handle_on_stack->AsMirrorPtr()->GetMarkBit() != 0)) { in ReadBarrierJni()
|
D | quick_trampoline_entrypoints.cc | 529 return QuickArgumentVisitor::GetProxyThisObjectReference(sp)->AsMirrorPtr(); in artQuickGetProxyThisObject() 563 sf_->SetVRegReference(cur_reg_, stack_ref->AsMirrorPtr()); in Visit() 777 val.l = soa_->AddLocalReference<jobject>(stack_ref->AsMirrorPtr()); in Visit() 1014 soa_->AddLocalReference<jobject>(stack_ref->AsMirrorPtr()); in Visit() 2086 sm_.AdvanceHandleScope(stack_ref->AsMirrorPtr()); in Visit()
|
/art/runtime/interpreter/ |
D | shadow_frame.h | 190 ref = References()[i].AsMirrorPtr(); in GetVRegReference()
|
/art/runtime/interpreter/mterp/ |
D | mterp.cc | 414 ObjPtr<mirror::Object> obj = vreg_addr->AsMirrorPtr(); in MterpCheckCast() 436 ObjPtr<mirror::Object> obj = vreg_addr->AsMirrorPtr(); in MterpInstanceOf()
|