Home
last modified time | relevance | path

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

/art/runtime/
Dread_barrier-inl.h36 return ref_addr->AsMirrorPtr(); in Barrier()
39 return ref_addr->AsMirrorPtr(); in Barrier()
42 return ref_addr->AsMirrorPtr(); in Barrier()
Dhandle.h61 return down_cast<T*>(reference_->AsMirrorPtr()); in Get()
65 if (UNLIKELY(reference_->AsMirrorPtr() == nullptr)) { in ToJObject()
124 T* old = down_cast<T*>(ref->AsMirrorPtr()); in Assign()
Dstack.h222 ref = References()[i].AsMirrorPtr(); in GetVRegReference()
225 ref = reinterpret_cast<const StackReference<mirror::Object>*>(vreg_ptr)->AsMirrorPtr(); in GetVRegReference()
525 return cur_quick_frame_->AsMirrorPtr(); in GetMethod()
Dhandle_scope.h83 return references_[i].AsMirrorPtr(); in GetReference()
Dstack.cc538 mirror::ArtMethod* method = cur_quick_frame_->AsMirrorPtr(); in WalkStack()
585 method = cur_quick_frame_->AsMirrorPtr(); in WalkStack()
Dquick_exception_handler.cc134 if (handler_quick_frame_->AsMirrorPtr() == nullptr) { in FindCatch()
Dthread.cc1352 result = reinterpret_cast<StackReference<mirror::Object>*>(obj)->AsMirrorPtr(); in DecodeJObject()
2101 mirror::ArtMethod* m = cur_quick_frame->AsMirrorPtr(); in VisitQuickFrame()
2146 mirror::Object* ref = ref_addr->AsMirrorPtr(); in VisitQuickFrame()
/art/runtime/gc/
Dreference_queue.cc111 if (referent_addr->AsMirrorPtr() != nullptr && !preserve_callback(referent_addr, arg)) { in ClearWhiteReferences()
132 if (referent_addr->AsMirrorPtr() != nullptr && !is_marked_callback(referent_addr, arg)) { in EnqueueFinalizerReferences()
133 mirror::Object* forward_address = mark_object_callback(referent_addr->AsMirrorPtr(), arg); in EnqueueFinalizerReferences()
158 if (referent_addr->AsMirrorPtr() != nullptr) { in ForwardSoftReferences()
Dreference_processor.cc64 if (referent_addr->AsMirrorPtr() == nullptr) { in GetReferent()
81 return referent_addr->AsMirrorPtr(); in GetReferent()
94 mirror::Object* new_obj = args->mark_callback_(obj->AsMirrorPtr(), args->arg_); in PreserveSoftReferenceCallback()
192 if (referent->AsMirrorPtr() != nullptr && !is_marked_callback(referent, arg)) { in DelayReferenceReferent()
/art/runtime/gc/accounting/
Dmod_union_table.cc85 if (obj_ptr->AsMirrorPtr() != nullptr) { in operator ()()
131 mirror::Object* ref = ref_ptr->AsMirrorPtr(); in operator ()()
221 CHECK(heap_->IsLiveObjectLocked(ref->AsMirrorPtr())); in Verify()
233 reference_set.insert(obj_ptr->AsMirrorPtr()); in Verify()
257 os << reinterpret_cast<const void*>(ref->AsMirrorPtr()) << ","; in Dump()
Dremembered_set.cc75 if (target_space_->HasAddress(ref_ptr->AsMirrorPtr())) { in operator ()()
78 DCHECK(!target_space_->HasAddress(ref_ptr->AsMirrorPtr())); in operator ()()
/art/runtime/entrypoints/quick/
Dquick_jni_entrypoints.cc36 mirror::ArtMethod* native_method = self->GetManagedStack()->GetTopQuickFrame()->AsMirrorPtr(); in JniMethodStart()
51 mirror::ArtMethod* native_method = self->GetManagedStack()->GetTopQuickFrame()->AsMirrorPtr(); in GoToRunnable()
Dquick_trampoline_entrypoints.cc208 CHECK(sp->AsMirrorPtr()->IsProxyMethod()); in GetProxyThisObject()
209 CHECK_EQ(kQuickCalleeSaveFrame_RefAndArgs_FrameSize, sp->AsMirrorPtr()->GetFrameSizeInBytes()); in GetProxyThisObject()
215 return reinterpret_cast<StackReference<mirror::Object>*>(this_arg_address)->AsMirrorPtr(); in GetProxyThisObject()
220 DCHECK(sp->AsMirrorPtr()->IsCalleeSaveMethod()); in GetCallingMethod()
222 return reinterpret_cast<StackReference<mirror::ArtMethod>*>(previous_sp)->AsMirrorPtr(); in GetCallingMethod()
228 DCHECK(sp->AsMirrorPtr()->IsCalleeSaveMethod()); in GetCallingPc()
468 sf_->SetVRegReference(cur_reg_, stack_ref->AsMirrorPtr()); in Visit()
568 val.l = soa_->AddLocalReference<jobject>(stack_ref->AsMirrorPtr()); in Visit()
618 DCHECK_EQ(sp->AsMirrorPtr(), proxy_method) << PrettyMethod(proxy_method); in artQuickProxyInvokeHandler()
685 soa_->AddLocalReference<jobject>(stack_ref->AsMirrorPtr()); in Visit()
[all …]
Dquick_field_entrypoints.cc254 reinterpret_cast<uint8_t*>(sp) + frame_size)->AsMirrorPtr(); in artSet64InstanceFromCode()
/art/runtime/native/
Dscoped_fast_native_object_access.h34 DCHECK(Self()->GetManagedStack()->GetTopQuickFrame()->AsMirrorPtr()->IsFastNative()); in ScopedFastNativeObjectAccess()
/art/runtime/mirror/
Dobject_reference.h36 MirrorType* AsMirrorPtr() const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in AsMirrorPtr() function
Dart_method.cc286 Object* receiver = reinterpret_cast<StackReference<Object>*>(&args[0])->AsMirrorPtr(); in Invoke()
/art/runtime/gc/collector/
Dsemi_space-inl.h59 mirror::Object* obj = obj_ptr->AsMirrorPtr(); in MarkObject()
Dsemi_space.cc580 return ref.AsMirrorPtr(); in MarkObjectCallback()
596 if (*root != ref.AsMirrorPtr()) { in MarkRootCallback()
597 *root = ref.AsMirrorPtr(); in MarkRootCallback()
609 mirror::Object* obj = object->AsMirrorPtr(); in HeapReferenceMarkedCallback()
Dmark_compact.cc304 reinterpret_cast<MarkCompact*>(arg)->MarkObject(obj_ptr->AsMirrorPtr()); in MarkHeapReferenceCallback()
407 mirror::Object* obj = reference->AsMirrorPtr(); in UpdateHeapReference()
478 return reinterpret_cast<MarkCompact*>(arg)->IsMarked(ref_ptr->AsMirrorPtr()); in HeapReferenceMarkedCallback()
Dmark_sweep.cc357 reinterpret_cast<MarkSweep*>(arg)->MarkObject(ref->AsMirrorPtr()); in MarkHeapReferenceCallback()
361 return reinterpret_cast<MarkSweep*>(arg)->IsMarked(ref->AsMirrorPtr()); in HeapReferenceMarkedCallback()
/art/runtime/arch/arm64/
Dfault_handler_arm64.cc74 *out_method = (reinterpret_cast<StackReference<mirror::ArtMethod>* >(*out_sp)[0]).AsMirrorPtr(); in GetMethodAndReturnPcAndSp()
/art/runtime/arch/x86/
Dfault_handler_x86.cc267 *out_method = (reinterpret_cast<StackReference<mirror::ArtMethod>* >(*out_sp)[0]).AsMirrorPtr(); in GetMethodAndReturnPcAndSp()
/art/runtime/interpreter/
Dinterpreter.cc444 Object* o = reinterpret_cast<StackReference<Object>*>(&args[arg_pos])->AsMirrorPtr(); in EnterInterpreterFromInvoke()