Home
last modified time | relevance | path

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

12

/art/runtime/gc/accounting/
Datomic_stack.h52 return a < b.AsMirrorPtr(); in operator()
55 return a.AsMirrorPtr() < b; in operator()
60 return a.AsMirrorPtr() < b.AsMirrorPtr(); in operator()
117 DCHECK_EQ(begin_[i].AsMirrorPtr(), static_cast<T*>(nullptr)) in AtomicBumpBack()
127 DCHECK_EQ(begin_[i].AsMirrorPtr(), static_cast<T*>(nullptr)) << "i=" << i; in AssertAllZero()
146 return begin_[back_index_.LoadRelaxed()].AsMirrorPtr(); in PopBack()
212 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.cc122 mirror::Object* ref = obj_ptr->AsMirrorPtr(); in MarkReference()
200 mirror::Object* ref = ref_ptr->AsMirrorPtr(); in operator ()()
217 if (mod_union_table_->ShouldAddReference(root->AsMirrorPtr())) { in VisitRoot()
220 mirror::Object* old_ref = root->AsMirrorPtr(); in VisitRoot()
303 DCHECK(!mod_union_table_->ShouldAddReference(root->AsMirrorPtr())); in VisitRoot()
345 CHECK(heap_->IsLiveObjectLocked(ref->AsMirrorPtr())); in Verify()
357 reference_set.insert(obj_ptr->AsMirrorPtr()); in Verify()
381 os << reinterpret_cast<const void*>(ref->AsMirrorPtr()) << ","; in Dump()
462 if (obj_ptr->AsMirrorPtr() != nullptr) { in UpdateAndMarkReferences()
Dmod_union_table_test.cc104 MarkObject(ref->AsMirrorPtr()); in MarkHeapReference()
/art/runtime/
Dread_barrier-inl.h58 MirrorType* ref = ref_addr->AsMirrorPtr(); in Barrier()
74 return ref_addr->AsMirrorPtr(); in Barrier()
76 MirrorType* ref = ref_addr->AsMirrorPtr(); in Barrier()
96 return ref_addr->AsMirrorPtr(); in Barrier()
151 MirrorType* ref = root->AsMirrorPtr(); in BarrierForRoot()
173 if (new_ref.AsMirrorPtr() != old_ref.AsMirrorPtr()) { in BarrierForRoot()
Dhandle.h61 return down_cast<T*>(reference_->AsMirrorPtr()); in Get()
69 if (UNLIKELY(reference_->AsMirrorPtr() == nullptr)) { in ToJObject()
132 T* old = down_cast<T*>(ref->AsMirrorPtr()); in Assign()
139 T* old = down_cast<T*>(ref->AsMirrorPtr()); in Assign()
Dfault_handler.cc69 CHECK_EQ(actual_class, cls.AsMirrorPtr()); in SafeGetDeclaringClass()
76 return cls.AsMirrorPtr(); in SafeGetDeclaringClass()
89 CHECK_EQ(actual_class, cls.AsMirrorPtr()); in SafeGetClass()
96 return cls.AsMirrorPtr(); in SafeGetClass()
Dhandle_scope_test.cc73 EXPECT_OBJ_PTR_EQ(ref_ptr->AsMirrorPtr(), c); in TEST_F()
Dclass_table_test.cc62 roots_.insert(root->AsMirrorPtr()); in VisitRoot()
Dhandle_scope-inl.h79 return GetReferences()[i].AsMirrorPtr(); in GetReference()
Dgc_root.h146 VisitRoot(roots[i]->AsMirrorPtr(), info); in VisitRoots()
Dthread-inl.h317 DCHECK(tlsPtr_.thread_local_alloc_stack_top->AsMirrorPtr() == nullptr); in PushOnThreadLocalAllocationStack()
/art/runtime/gc/collector/
Dsemi_space-inl.h44 mirror::Object* obj = obj_ptr->AsMirrorPtr(); in MarkObject()
79 if (!to_space_->HasAddress(obj_ptr->AsMirrorPtr())) { in MarkObjectIfNotInToSpace()
Dmark_compact.cc256 mark_stack_->PushBack(obj.AsMirrorPtr()); in ResizeMarkStack()
273 MarkObject(obj_ptr->AsMirrorPtr()); in MarkHeapReference()
288 MarkObject(roots[i]->AsMirrorPtr()); in VisitRoots()
314 mirror::Object* obj = roots[i]->AsMirrorPtr(); in VisitRoots()
408 mirror::Object* obj = reference->AsMirrorPtr(); in UpdateHeapReference()
443 root->Assign(collector_->GetMarkedForwardAddress(root->AsMirrorPtr())); in VisitRoot()
485 mirror::Object* obj = ref_ptr->AsMirrorPtr(); in IsNullOrMarkedHeapReference()
592 collector_->MarkObject(root->AsMirrorPtr()); in VisitRoot()
Dmark_sweep.cc372 mark_stack_->PushBack(obj.AsMirrorPtr()); in ResizeMarkStack()
395 mirror::Object* obj = ref->AsMirrorPtr(); in IsNullOrMarkedHeapReference()
537 MarkObject(ref->AsMirrorPtr(), nullptr, MemberOffset(0)); in MarkHeapReference()
576 MarkObjectNonNull(roots[i]->AsMirrorPtr()); in VisitRoots()
695 Mark(root->AsMirrorPtr()); in VisitRoot()
782 mirror::Object* const mark_stack_obj = mark_stack_[--mark_stack_pos_].AsMirrorPtr(); in Run()
796 obj = mark_stack_[--mark_stack_pos_].AsMirrorPtr(); in Run()
1134 mark_sweep_->MarkObjectNonNullParallel(roots[i]->AsMirrorPtr()); in VisitRoots()
1223 mirror::Object* const obj = objects[i].AsMirrorPtr(); in SweepArray()
1262 mirror::Object* const obj = objects[i].AsMirrorPtr(); in SweepArray()
[all …]
Dsemi_space.cc319 CHECK(!from_space_->HasAddress(root->AsMirrorPtr())); in VisitRoot()
452 mark_stack_->PushBack(obj.AsMirrorPtr()); in ResizeMarkStack()
608 return ref.AsMirrorPtr(); in MarkObject()
624 if (*root != ref.AsMirrorPtr()) { in VisitRoots()
625 *root = ref.AsMirrorPtr(); in VisitRoots()
776 mirror::Object* obj = object->AsMirrorPtr(); in IsNullOrMarkedHeapReference()
Dconcurrent_copying.cc131 mirror::Object* from_ref = field->AsMirrorPtr(); in MarkHeapReference()
138 if (field->AsMirrorPtr() != from_ref) { in MarkHeapReference()
148 field->Assign(Mark(field->AsMirrorPtr())); in MarkHeapReference()
389 mirror::Object* ref = root->AsMirrorPtr(); in VisitRoots()
493 CheckReference(root->AsMirrorPtr(), nullptr, MemberOffset(0)); in VisitRoot()
571 CheckReference(root->AsMirrorPtr()); in VisitRoot()
1063 gc_mark_stack_->PushBack(ref.AsMirrorPtr()); in ExpandGcMarkStack()
1207 visitor(root->AsMirrorPtr()); in VisitRoot()
1259 mirror::Object* const obj = it->AsMirrorPtr(); in VerifyNoFromSpaceReferences()
1318 visitor(root->AsMirrorPtr()); in VisitRoot()
[all …]
/art/runtime/gc/
Dreference_queue.cc162 ObjPtr<mirror::Object> forward_address = collector->MarkObject(referent_addr->AsMirrorPtr()); in EnqueueFinalizerReferences()
187 if (referent_addr->AsMirrorPtr() != nullptr) { in ForwardSoftReferences()
Dheap-visit-objects-inl.h113 mirror::Object* const obj = it->AsMirrorPtr(); in VisitObjectsInternal()
Dverification.cc176 Visit(root->AsMirrorPtr(), "!nativeRoot"); in VisitRoot()
/art/runtime/entrypoints/quick/
Dquick_jni_entrypoints.cc37 DCHECK(handle_on_stack->AsMirrorPtr() != nullptr) in ReadBarrierJni()
40 if (LIKELY(handle_on_stack->AsMirrorPtr()->GetMarkBit() != 0)) { in ReadBarrierJni()
Dquick_trampoline_entrypoints.cc328 return reinterpret_cast<StackReference<mirror::Object>*>(this_arg_address)->AsMirrorPtr(); in GetProxyThisObject()
682 sf_->SetVRegReference(cur_reg_, stack_ref->AsMirrorPtr()); in Visit()
865 val.l = soa_->AddLocalReference<jobject>(stack_ref->AsMirrorPtr()); in Visit()
978 soa_->AddLocalReference<jobject>(stack_ref->AsMirrorPtr()); in Visit()
2070 sm_.AdvanceHandleScope(stack_ref->AsMirrorPtr()); in Visit()
/art/runtime/mirror/
Dobject_reference.h37 MirrorType* AsMirrorPtr() const REQUIRES_SHARED(Locks::mutator_lock_) { in AsMirrorPtr() function
/art/runtime/interpreter/
Dshadow_frame.h186 ref = References()[i].AsMirrorPtr(); in GetVRegReference()
189 ref = reinterpret_cast<const StackReference<mirror::Object>*>(vreg_ptr)->AsMirrorPtr(); in GetVRegReference()
/art/runtime/interpreter/mterp/
Dmterp.cc352 mirror::Object* obj = vreg_addr->AsMirrorPtr(); in MterpCheckCast()
374 mirror::Object* obj = vreg_addr->AsMirrorPtr(); in MterpInstanceOf()

12