Home
last modified time | relevance | path

Searched refs:AsMirrorPtr (Results 1 – 25 of 37) sorted by relevance

12

/art/runtime/gc/accounting/
Datomic_stack.h53 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()
Dremembered_set.cc76 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()
Dmod_union_table.cc123 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()
Dmod_union_table_test.cc105 MarkObject(ref->AsMirrorPtr()); in MarkHeapReference()
/art/runtime/
Dread_barrier-inl.h58 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()
Dhandle.h62 return down_cast<T*>(reference_->AsMirrorPtr()); in Get()
71 if (UNLIKELY(reference_->AsMirrorPtr() == nullptr)) { in ToJObject()
134 T* old = down_cast<T*>(ref->AsMirrorPtr()); in Assign()
141 T* old = down_cast<T*>(ref->AsMirrorPtr()); in Assign()
Dfault_handler.cc73 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()
Dhandle_scope_test.cc74 EXPECT_OBJ_PTR_EQ(ref_ptr->AsMirrorPtr(), c); in TEST_F()
Dclass_table_test.cc62 roots_.insert(root->AsMirrorPtr()); in VisitRoot()
Dhandle_scope-inl.h80 return GetReferences()[i].AsMirrorPtr(); in GetReference()
Dgc_root.h147 VisitRoot(roots[i]->AsMirrorPtr(), info); in VisitRoots()
Dthread-inl.h320 DCHECK(tlsPtr_.thread_local_alloc_stack_top->AsMirrorPtr() == nullptr); in PushOnThreadLocalAllocationStack()
/art/runtime/gc/collector/
Dsemi_space-inl.h43 mirror::Object* obj = obj_ptr->AsMirrorPtr(); in MarkObject()
77 if (!to_space_->HasAddress(obj_ptr->AsMirrorPtr())) { in MarkObjectIfNotInToSpace()
Dsemi_space.cc320 CHECK(!from_space_->HasAddress(root->AsMirrorPtr())); in VisitRoot()
453 mark_stack_->PushBack(obj.AsMirrorPtr()); in ResizeMarkStack()
609 return ref.AsMirrorPtr(); in MarkObject()
625 if (*root != ref.AsMirrorPtr()) { in VisitRoots()
626 *root = ref.AsMirrorPtr(); in VisitRoots()
778 mirror::Object* obj = object->AsMirrorPtr(); in IsNullOrMarkedHeapReference()
Dmark_sweep.cc397 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 …]
Dconcurrent_copying.cc163 mirror::Object* from_ref = field->AsMirrorPtr(); in MarkHeapReference()
170 if (field->AsMirrorPtr() != from_ref) { in MarkHeapReference()
180 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()
1078 CheckReference(root->AsMirrorPtr()); in VisitRoot()
1742 gc_mark_stack_->PushBack(ref.AsMirrorPtr()); in ExpandGcMarkStack()
1884 visitor(root->AsMirrorPtr()); in VisitRoot()
[all …]
/art/runtime/mirror/
Dobject_reference.h70 MirrorType* AsMirrorPtr() const { in AsMirrorPtr() function
118 MirrorType* AsMirrorPtr() const REQUIRES_SHARED(Locks::mutator_lock_) { in AsMirrorPtr() function
/art/runtime/gc/
Dreference_queue.cc163 ObjPtr<mirror::Object> forward_address = collector->MarkObject(referent_addr->AsMirrorPtr()); in EnqueueFinalizerReferences()
188 if (referent_addr->AsMirrorPtr() != nullptr) { in ForwardSoftReferences()
Dheap-visit-objects-inl.h113 mirror::Object* const obj = it->AsMirrorPtr(); in VisitObjectsInternal()
Dverification.cc179 Visit(root->AsMirrorPtr(), "!nativeRoot"); in VisitRoot()
/art/runtime/entrypoints/quick/
Dquick_jni_entrypoints.cc38 DCHECK(handle_on_stack->AsMirrorPtr() != nullptr) in ReadBarrierJni()
41 if (LIKELY(handle_on_stack->AsMirrorPtr()->GetMarkBit() != 0)) { in ReadBarrierJni()
Dquick_trampoline_entrypoints.cc614 return QuickArgumentVisitor::GetProxyThisObjectReference(sp)->AsMirrorPtr(); in artQuickGetProxyThisObject()
648 sf_->SetVRegReference(cur_reg_, stack_ref->AsMirrorPtr()); in Visit()
862 val.l = soa_->AddLocalReference<jobject>(stack_ref->AsMirrorPtr()); in Visit()
1098 soa_->AddLocalReference<jobject>(stack_ref->AsMirrorPtr()); in Visit()
2277 sm_.AdvanceHandleScope(stack_ref->AsMirrorPtr()); in Visit()
/art/test/1945-proxy-method-arguments/
Dget_args.cc101 art::ObjPtr<mirror::Object> obj = ref_arg->AsMirrorPtr(); in GetProxyReferenceArgument()
/art/runtime/interpreter/
Dshadow_frame.h193 ref = References()[i].AsMirrorPtr(); in GetVRegReference()
/art/runtime/interpreter/mterp/
Dmterp.cc415 ObjPtr<mirror::Object> obj = vreg_addr->AsMirrorPtr(); in MterpCheckCast()
437 ObjPtr<mirror::Object> obj = vreg_addr->AsMirrorPtr(); in MterpInstanceOf()

12