Home
last modified time | relevance | path

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

12

/art/runtime/gc/accounting/
Datomic_stack.h43 return a < b.AsMirrorPtr(); in operator()
46 return a.AsMirrorPtr() < b; in operator()
51 return a.AsMirrorPtr() < b.AsMirrorPtr(); in operator()
108 DCHECK_EQ(begin_[i].AsMirrorPtr(), static_cast<T*>(nullptr)) in AtomicBumpBack()
118 DCHECK_EQ(begin_[i].AsMirrorPtr(), static_cast<T*>(nullptr)) << "i=" << i; in AssertAllZero()
137 return begin_[back_index_.LoadRelaxed()].AsMirrorPtr(); in PopBack()
203 if (cur->AsMirrorPtr() == value) { in Contains()
Dremembered_set.cc73 if (target_space_->HasAddress(ref_ptr->AsMirrorPtr())) { in operator ()()
76 DCHECK(!target_space_->HasAddress(ref_ptr->AsMirrorPtr())); in operator ()()
97 if (target_space_->HasAddress(root->AsMirrorPtr())) { in VisitRoot()
99 root->Assign(collector_->MarkObject(root->AsMirrorPtr())); in VisitRoot()
100 DCHECK(!target_space_->HasAddress(root->AsMirrorPtr())); in VisitRoot()
Dmod_union_table.cc120 mirror::Object* ref = obj_ptr->AsMirrorPtr(); in MarkReference()
193 mirror::Object* ref = ref_ptr->AsMirrorPtr(); in operator ()()
210 if (mod_union_table_->ShouldAddReference(root->AsMirrorPtr())) { in VisitRoot()
213 mirror::Object* old_ref = root->AsMirrorPtr(); in VisitRoot()
295 DCHECK(!mod_union_table_->ShouldAddReference(root->AsMirrorPtr())); in VisitRoot()
325 CHECK(heap_->IsLiveObjectLocked(ref->AsMirrorPtr())); in Verify()
337 reference_set.insert(obj_ptr->AsMirrorPtr()); in Verify()
361 os << reinterpret_cast<const void*>(ref->AsMirrorPtr()) << ","; in Dump()
417 if (obj_ptr->AsMirrorPtr() != nullptr) { in UpdateAndMarkReferences()
Dmod_union_table_test.cc103 MarkObject(ref->AsMirrorPtr()); in MarkHeapReference()
/art/runtime/
Dread_barrier-inl.h51 MirrorType* ref = ref_addr->AsMirrorPtr(); in Barrier()
70 return ref_addr->AsMirrorPtr(); in Barrier()
72 MirrorType* ref = ref_addr->AsMirrorPtr(); in Barrier()
92 return ref_addr->AsMirrorPtr(); in Barrier()
147 MirrorType* ref = root->AsMirrorPtr(); in BarrierForRoot()
169 if (new_ref.AsMirrorPtr() != old_ref.AsMirrorPtr()) { in BarrierForRoot()
Dhandle.h62 return down_cast<T*>(reference_->AsMirrorPtr()); in Get()
66 if (UNLIKELY(reference_->AsMirrorPtr() == nullptr)) { in ToJObject()
126 T* old = down_cast<T*>(ref->AsMirrorPtr()); in Assign()
Dhandle_scope-inl.h72 return GetReferences()[i].AsMirrorPtr(); in GetReference()
Dgc_root.h129 VisitRoot(roots[i]->AsMirrorPtr(), info); in VisitRoots()
Dthread-inl.h251 DCHECK(tlsPtr_.thread_local_alloc_stack_top->AsMirrorPtr() == nullptr); in PushOnThreadLocalAllocationStack()
Dstack.h244 ref = References()[i].AsMirrorPtr(); in GetVRegReference()
247 ref = reinterpret_cast<const StackReference<mirror::Object>*>(vreg_ptr)->AsMirrorPtr(); in GetVRegReference()
Dart_method.cc264 reinterpret_cast<StackReference<mirror::Object>*>(&args[0])->AsMirrorPtr(); in Invoke()
Dreflection.cc379 (reinterpret_cast<StackReference<mirror::Object>*>(&args[i + offset]))->AsMirrorPtr(); in CheckMethodArguments()
/art/runtime/gc/
Dreference_queue.cc142 if (referent_addr->AsMirrorPtr() != nullptr && in ClearWhiteReferences()
160 if (referent_addr->AsMirrorPtr() != nullptr && in EnqueueFinalizerReferences()
162 mirror::Object* forward_address = collector->MarkObject(referent_addr->AsMirrorPtr()); in EnqueueFinalizerReferences()
184 if (referent_addr->AsMirrorPtr() != nullptr) { in ForwardSoftReferences()
Dreference_processor.cc82 if (referent_addr->AsMirrorPtr() == nullptr) { in GetReferent()
97 return referent_addr->AsMirrorPtr(); in GetReferent()
197 if (referent->AsMirrorPtr() != nullptr && !collector->IsMarkedHeapReference(referent)) { in DelayReferenceReferent()
Dheap.cc1034 mirror::Object* const obj = it->AsMirrorPtr(); in VisitObjectsInternal()
2567 const mirror::Object* obj = it->AsMirrorPtr(); in MarkAllocStack()
2888 root->AsMirrorPtr(), RootInfo(kRootVMInternal)); in VisitRoot()
3219 if (!kUseThreadLocalAllocationStack || it->AsMirrorPtr() != nullptr) { in VerifyMissingCardMarks()
3220 visitor(it->AsMirrorPtr()); in VerifyMissingCardMarks()
/art/runtime/gc/collector/
Dsemi_space-inl.h59 mirror::Object* obj = obj_ptr->AsMirrorPtr(); in MarkObject()
90 if (!to_space_->HasAddress(obj_ptr->AsMirrorPtr())) { in MarkObjectIfNotInToSpace()
Dmark_compact.cc264 mark_stack_->PushBack(obj.AsMirrorPtr()); in ResizeMarkStack()
280 MarkObject(obj_ptr->AsMirrorPtr()); in MarkHeapReference()
295 MarkObject(roots[i]->AsMirrorPtr()); in VisitRoots()
322 mirror::Object* obj = roots[i]->AsMirrorPtr(); in VisitRoots()
416 mirror::Object* obj = reference->AsMirrorPtr(); in UpdateHeapReference()
452 root->Assign(collector_->GetMarkedForwardAddress(root->AsMirrorPtr())); in VisitRoot()
492 return IsMarked(ref_ptr->AsMirrorPtr()) != nullptr; in IsMarkedHeapReference()
602 collector_->MarkObject(root->AsMirrorPtr()); in VisitRoot()
Dmark_sweep.cc371 mark_stack_->PushBack(obj.AsMirrorPtr()); in ResizeMarkStack()
393 return IsMarked(ref->AsMirrorPtr()); in IsMarkedHeapReference()
542 MarkObject(ref->AsMirrorPtr(), nullptr, MemberOffset(0)); in MarkHeapReference()
581 MarkObjectNonNull(roots[i]->AsMirrorPtr()); in VisitRoots()
696 Mark(root->AsMirrorPtr()); in VisitRoot()
783 mirror::Object* const mark_stack_obj = mark_stack_[--mark_stack_pos_].AsMirrorPtr(); in Run()
797 obj = mark_stack_[--mark_stack_pos_].AsMirrorPtr(); in Run()
1135 mark_sweep_->MarkObjectNonNullParallel(roots[i]->AsMirrorPtr()); in VisitRoots()
1224 mirror::Object* const obj = objects[i].AsMirrorPtr(); in SweepArray()
1263 mirror::Object* const obj = objects[i].AsMirrorPtr(); in SweepArray()
[all …]
Dsemi_space.cc325 CHECK(!from_space_->HasAddress(root->AsMirrorPtr())); in VisitRoot()
463 mark_stack_->PushBack(obj.AsMirrorPtr()); in ResizeMarkStack()
623 return ref.AsMirrorPtr(); in MarkObject()
638 if (*root != ref.AsMirrorPtr()) { in VisitRoots()
639 *root = ref.AsMirrorPtr(); in VisitRoots()
786 mirror::Object* obj = object->AsMirrorPtr(); in IsMarkedHeapReference()
Dconcurrent_copying.cc85 from_ref->Assign(Mark(from_ref->AsMirrorPtr())); in MarkHeapReference()
578 gc_mark_stack_->PushBack(ref.AsMirrorPtr()); in ExpandGcMarkStack()
728 visitor(root->AsMirrorPtr()); in VisitRoot()
803 mirror::Object* const obj = it->AsMirrorPtr(); in VerifyNoFromSpaceReferences()
860 visitor(root->AsMirrorPtr()); in VisitRoot()
1002 refs.push_back(p->AsMirrorPtr()); in ProcessMarkStackOnce()
1044 mirror::Object* to_ref = p->AsMirrorPtr(); in ProcessThreadLocalMarkStacks()
1275 mirror::Object* obj = it->AsMirrorPtr(); in ClearBlackPtrs()
1453 LOG(INTERNAL_FATAL) << "root=" << root << " ref=" << root->AsMirrorPtr(); in VisitRoot()
1675 mirror::Object* const ref = root->AsMirrorPtr(); in MarkRoot()
[all …]
/art/runtime/mirror/
Dobject_reference.h36 MirrorType* AsMirrorPtr() const SHARED_REQUIRES(Locks::mutator_lock_) { in AsMirrorPtr() function
/art/runtime/lambda/
Dclosure.cc300 result = compressed_result.AsMirrorPtr(); in GetCapturedObject()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc304 return reinterpret_cast<StackReference<mirror::Object>*>(this_arg_address)->AsMirrorPtr(); in GetProxyThisObject()
626 sf_->SetVRegReference(cur_reg_, stack_ref->AsMirrorPtr()); in Visit()
800 val.l = soa_->AddLocalReference<jobject>(stack_ref->AsMirrorPtr()); in Visit()
911 soa_->AddLocalReference<jobject>(stack_ref->AsMirrorPtr()); in Visit()
1883 sm_.AdvanceHandleScope(stack_ref->AsMirrorPtr()); in Visit()
/art/runtime/interpreter/mterp/
Dmterp.cc295 Object* obj = vreg_addr->AsMirrorPtr(); in MterpCheckCast()
311 Object* obj = vreg_addr->AsMirrorPtr(); in MterpInstanceOf()
/art/runtime/interpreter/
Dinterpreter.cc439 Object* o = reinterpret_cast<StackReference<Object>*>(&args[arg_pos])->AsMirrorPtr(); in EnterInterpreterFromInvoke()

12