Home
last modified time | relevance | path

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

/art/runtime/
Dhandle.h50 ALWAYS_INLINE explicit Handle(StackReference<T>* reference) : reference_(reference) { in Handle()
78 ALWAYS_INLINE StackReference<mirror::Object>* GetReference() { in GetReference()
82 ALWAYS_INLINE const StackReference<mirror::Object>* GetReference() const { in GetReference()
96 explicit Handle(StackReference<S>* reference) in Handle()
104 StackReference<mirror::Object>* reference_;
127 ALWAYS_INLINE explicit MutableHandle(StackReference<T>* reference) in MutableHandle()
133 StackReference<mirror::Object>* ref = Handle<T>::GetReference(); in Assign()
140 StackReference<mirror::Object>* ref = Handle<T>::GetReference(); in Assign()
153 explicit MutableHandle(StackReference<S>* reference) REQUIRES_SHARED(Locks::mutator_lock_) in MutableHandle()
172 StackReference<mirror::Object> null_ref_;
Dhandle_scope_test.cc72 auto* ref_ptr = reinterpret_cast<StackReference<mirror::Object>*>(table_base_ptr + in TEST_F()
80 void VisitRootIfNonNull(StackReference<mirror::Object>* ref) { in VisitRootIfNonNull()
87 std::set<StackReference<mirror::Object>*> visited;
118 for (StackReference<mirror::Object>* ref : visitor.visited) { in TEST_F()
Dhandle_scope.h54 ALWAYS_INLINE bool Contains(StackReference<mirror::Object>* handle_scope_entry) const;
119 ALWAYS_INLINE bool Contains(StackReference<mirror::Object>* handle_scope_entry) const;
153 ALWAYS_INLINE StackReference<mirror::Object>* GetReferences() const { in GetReferences()
155 return reinterpret_cast<StackReference<mirror::Object>*>(address); in GetReferences()
209 StackReference<mirror::Object> storage_[kNumReferences];
255 ALWAYS_INLINE bool Contains(StackReference<mirror::Object>* handle_scope_entry) const;
Dstack_reference.h27 class PACKED(4) StackReference : public mirror::CompressedReference<MirrorType> {
Dhandle_scope-inl.h64 size_t data_size = sizeof(StackReference<mirror::Object>) * num_references; in SizeOf()
71 size_t data_size = sizeof(StackReference<mirror::Object>) * num_references; in SizeOf()
101 inline bool HandleScope::Contains(StackReference<mirror::Object>* handle_scope_entry) const { in Contains()
161 inline bool BaseHandleScope::Contains(StackReference<mirror::Object>* handle_scope_entry) const { in Contains()
236 inline bool VariableSizedHandleScope::Contains(StackReference<mirror::Object>* handle_scope_entry) in Contains()
Dthread-inl.h318 sizeof(StackReference<mirror::Object>), in PushOnThreadLocalAllocationStack()
328 inline void Thread::SetThreadLocalAllocationStack(StackReference<mirror::Object>* start, in SetThreadLocalAllocationStack()
329 StackReference<mirror::Object>* end) { in SetThreadLocalAllocationStack()
333 DCHECK_ALIGNED(start, sizeof(StackReference<mirror::Object>)); in SetThreadLocalAllocationStack()
334 DCHECK_ALIGNED(end, sizeof(StackReference<mirror::Object>)); in SetThreadLocalAllocationStack()
Dmanaged_stack.cc43 bool ManagedStack::ShadowFramesContain(StackReference<mirror::Object>* shadow_frame_entry) const { in ShadowFramesContain()
Dmanaged_stack.h38 template <typename T> class StackReference; variable
124 bool ShadowFramesContain(StackReference<mirror::Object>* shadow_frame_entry) const;
Dthread.h1154 void SetThreadLocalAllocationStack(StackReference<mirror::Object>* start,
1155 StackReference<mirror::Object>* end);
1743 StackReference<mirror::Object>* thread_local_alloc_stack_top; in PACKED()
1744 StackReference<mirror::Object>* thread_local_alloc_stack_end; in PACKED()
Dreflection.cc83 Append(StackReference<mirror::Object>::FromMirrorPtr(obj.Ptr()).AsVRegValue()); in Append()
398 (reinterpret_cast<StackReference<mirror::Object>*>(&args[i + offset]))->AsMirrorPtr(); in CheckMethodArguments()
Dart_method.cc333 reinterpret_cast<StackReference<mirror::Object>*>(&args[0])->AsMirrorPtr(); in Invoke()
/art/runtime/gc/accounting/
Datomic_stack.h52 bool operator()(const T* a, const StackReference<T>& b) const NO_THREAD_SAFETY_ANALYSIS { in operator()
55 bool operator()(const StackReference<T>& a, const T* b) const NO_THREAD_SAFETY_ANALYSIS { in operator()
59 bool operator()(const StackReference<T>& a, const StackReference<T>& b) const in operator()
97 bool AtomicBumpBack(size_t num_slots, StackReference<T>** start_address, in AtomicBumpBack()
98 StackReference<T>** end_address) in AtomicBumpBack()
180 StackReference<T>* Begin() const { in Begin()
183 StackReference<T>* End() const { in End()
264 begin_ = reinterpret_cast<StackReference<T>*>(addr); in Init()
277 StackReference<T>* begin_;
/art/runtime/interpreter/
Dshadow_frame.h66 (sizeof(StackReference<mirror::Object>) * num_vregs); in ComputeSize()
273 bool Contains(StackReference<mirror::Object>* shadow_frame_entry_obj) const { in Contains()
404 memset(vregs_, 0, num_vregs * (sizeof(uint32_t) + sizeof(StackReference<mirror::Object>))); in ShadowFrame()
422 const StackReference<mirror::Object>* References() const { in References()
425 return reinterpret_cast<const StackReference<mirror::Object>*>(vreg_end); in References()
428 StackReference<mirror::Object>* References() { in References()
429 return const_cast<StackReference<mirror::Object>*>( in References()
Dshadow_frame-inl.h35 reinterpret_cast<StackReference<mirror::Object>*>(vreg)->Assign(val); in SetVRegReference()
Dinterpreter.cc459 reinterpret_cast<StackReference<mirror::Object>*>(&args[arg_pos])->AsMirrorPtr(); in EnterInterpreterFromInvoke()
/art/test/1945-proxy-method-arguments/
Dget_args.cc83 extern "C" StackReference<mirror::Object>* artQuickGetProxyReferenceArgumentAt(size_t arg_pos,
98 StackReference<mirror::Object>* ref_arg = in GetProxyReferenceArgument()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc312 static StackReference<mirror::Object>* GetProxyThisObjectReference(ArtMethod** sp) in GetProxyThisObjectReference()
320 return reinterpret_cast<StackReference<mirror::Object>*>(this_arg_address); in GetProxyThisObjectReference()
646 StackReference<mirror::Object>* stack_ref = in Visit()
647 reinterpret_cast<StackReference<mirror::Object>*>(GetParamAddress()); in Visit()
860 StackReference<mirror::Object>* stack_ref = in Visit()
861 reinterpret_cast<StackReference<mirror::Object>*>(GetParamAddress()); in Visit()
992 ref_arg_ = reinterpret_cast<StackReference<mirror::Object>*>(GetParamAddress()); in Visit()
997 StackReference<mirror::Object>* GetReferenceArgument() { in GetReferenceArgument()
1007 StackReference<mirror::Object>* ref_arg_;
1014 extern "C" StackReference<mirror::Object>* artQuickGetProxyReferenceArgumentAt(size_t arg_pos, in artQuickGetProxyReferenceArgumentAt()
[all …]
Dquick_entrypoints.h41 template<class MirrorType> class StackReference; variable
/art/tools/cpp-define-generator/
Dglobals.def70 sizeof(art::StackReference<art::mirror::Object>))
/art/runtime/gc/collector/
Dmark_sweep.cc393 std::vector<StackReference<mirror::Object>> temp(mark_stack_->Begin(), mark_stack_->End()); in ResizeMarkStack()
676 StackReference<mirror::Object>* mark_stack) in MarkStackTask()
771 StackReference<mirror::Object> mark_stack_[kMaxSize];
838 StackReference<mirror::Object>* mark_stack_obj, in CardScanTask()
892 StackReference<mirror::Object>* mark_stack_begin = mark_stack_->Begin(); in ScanGrayObjects()
893 StackReference<mirror::Object>* mark_stack_end = mark_stack_->End(); in ScanGrayObjects()
1216 StackReference<mirror::Object>* objects = allocations->Begin(); in SweepArray()
1245 StackReference<mirror::Object>* out = objects; in SweepArray()
Dsemi_space.cc449 std::vector<StackReference<Object>> temp(mark_stack_->Begin(), mark_stack_->End()); in ResizeMarkStack()
607 auto ref = StackReference<mirror::Object>::FromMirrorPtr(root); in MarkObject()
621 auto ref = StackReference<mirror::Object>::FromMirrorPtr(*root); in VisitRoots()
/art/compiler/jni/quick/
Dcalling_convention.h83 handle_scope_pointer_size_(sizeof(StackReference<mirror::Object>)), in CallingConvention()
/art/runtime/interpreter/mterp/
Dmterp.cc402 StackReference<mirror::Object>* vreg_addr, in MterpCheckCast()
424 StackReference<mirror::Object>* vreg_addr, in MterpInstanceOf()
/art/compiler/optimizing/
Dcode_generator.cc241 roots->emplace_back(reinterpret_cast<StackReference<mirror::Object>*>(address)); in EmitJitRoots()
254 roots->emplace_back(reinterpret_cast<StackReference<mirror::Object>*>(address)); in EmitJitRoots()
/art/runtime/gc/
Dheap.cc3144 StackReference<mirror::Object>* start_address; in PushOnThreadLocalAllocationStackWithInternalGC()
3145 StackReference<mirror::Object>* end_address; in PushOnThreadLocalAllocationStackWithInternalGC()