Home
last modified time | relevance | path

Searched refs:AsMirrorPtr (Results 1 – 25 of 38) 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.h75 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()
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.h82 return GetReferences()[i].AsMirrorPtr(); in GetReference()
Dgc_root.h148 VisitRoot(roots[i]->AsMirrorPtr(), info); in VisitRoots()
Dthread-inl.h322 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.cc266 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()
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.cc161 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/
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.cc178 Visit(root->AsMirrorPtr(), "!nativeRoot"); in VisitRoot()
/art/test/1945-proxy-method-arguments/
Dget_args.cc101 art::ObjPtr<mirror::Object> obj = ref_arg->AsMirrorPtr(); in GetProxyReferenceArgument()
/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.cc529 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/
Dshadow_frame.h190 ref = References()[i].AsMirrorPtr(); in GetVRegReference()
/art/runtime/interpreter/mterp/
Dmterp.cc414 ObjPtr<mirror::Object> obj = vreg_addr->AsMirrorPtr(); in MterpCheckCast()
436 ObjPtr<mirror::Object> obj = vreg_addr->AsMirrorPtr(); in MterpInstanceOf()

12