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()
77 ALWAYS_INLINE StackReference<mirror::Object>* GetReference() { in GetReference()
81 ALWAYS_INLINE const StackReference<mirror::Object>* GetReference() const { in GetReference()
95 explicit Handle(StackReference<S>* reference) in Handle()
103 StackReference<mirror::Object>* reference_;
126 ALWAYS_INLINE explicit MutableHandle(StackReference<T>* reference) in MutableHandle()
132 StackReference<mirror::Object>* ref = Handle<T>::GetReference(); in Assign()
139 StackReference<mirror::Object>* ref = Handle<T>::GetReference(); in Assign()
152 explicit MutableHandle(StackReference<S>* reference) REQUIRES_SHARED(Locks::mutator_lock_) in MutableHandle()
171 StackReference<mirror::Object> null_ref_;
Dhandle_scope_test.cc71 auto* ref_ptr = reinterpret_cast<StackReference<mirror::Object>*>(table_base_ptr + in TEST_F()
79 void VisitRootIfNonNull(StackReference<mirror::Object>* ref) { in VisitRootIfNonNull()
86 std::set<StackReference<mirror::Object>*> visited;
117 for (StackReference<mirror::Object>* ref : visitor.visited) { in TEST_F()
Dhandle_scope.h52 ALWAYS_INLINE bool Contains(StackReference<mirror::Object>* handle_scope_entry) const;
117 ALWAYS_INLINE bool Contains(StackReference<mirror::Object>* handle_scope_entry) const;
157 ALWAYS_INLINE StackReference<mirror::Object>* GetReferences() const { in GetReferences()
159 return reinterpret_cast<StackReference<mirror::Object>*>(address); in GetReferences()
251 StackReference<mirror::Object> storage_[kNumReferences];
297 ALWAYS_INLINE bool Contains(StackReference<mirror::Object>* handle_scope_entry) const;
310 kSizeOfReferencesPerScope / sizeof(StackReference<mirror::Object>);
Dstack_reference.h27 class PACKED(4) StackReference : public mirror::CompressedReference<MirrorType> {
Dhandle_scope-inl.h63 size_t data_size = sizeof(StackReference<mirror::Object>) * num_references; in SizeOf()
70 size_t data_size = sizeof(StackReference<mirror::Object>) * num_references; in SizeOf()
100 inline bool HandleScope::Contains(StackReference<mirror::Object>* handle_scope_entry) const { in Contains()
151 inline bool BaseHandleScope::Contains(StackReference<mirror::Object>* handle_scope_entry) const { in Contains()
226 inline bool VariableSizedHandleScope::Contains(StackReference<mirror::Object>* handle_scope_entry) in Contains()
Dthread-inl.h316 sizeof(StackReference<mirror::Object>), in PushOnThreadLocalAllocationStack()
326 inline void Thread::SetThreadLocalAllocationStack(StackReference<mirror::Object>* start, in SetThreadLocalAllocationStack()
327 StackReference<mirror::Object>* end) { in SetThreadLocalAllocationStack()
331 DCHECK_ALIGNED(start, sizeof(StackReference<mirror::Object>)); in SetThreadLocalAllocationStack()
332 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.h1169 void SetThreadLocalAllocationStack(StackReference<mirror::Object>* start,
1170 StackReference<mirror::Object>* end);
1717 StackReference<mirror::Object>* thread_local_alloc_stack_top; in PACKED()
1718 StackReference<mirror::Object>* thread_local_alloc_stack_end; in PACKED()
Dthread.cc2329 StackReference<mirror::Object>* hs_entry = in HandleScopeContains()
2330 reinterpret_cast<StackReference<mirror::Object>*>(obj); in HandleScopeContains()
2366 result = reinterpret_cast<StackReference<mirror::Object>*>(obj)->AsMirrorPtr(); in DecodeJObject()
3455 extern std::vector<StackReference<mirror::Object>*> GetProxyReferenceArguments(ArtMethod** sp)
3558 StackReference<mirror::Object>* vreg_base = reinterpret_cast<StackReference<mirror::Object>*>( in VisitQuickFrameWithVregCallback()
3573 StackReference<mirror::Object>* ref_addr = vreg_base + i; in VisitQuickFrameWithVregCallback()
3606 std::vector<StackReference<mirror::Object>*> ref_addrs = in VisitQuickFrameWithVregCallback()
3608 for (StackReference<mirror::Object>* ref_addr : ref_addrs) { in VisitQuickFrameWithVregCallback()
Dreflection.cc81 Append(StackReference<mirror::Object>::FromMirrorPtr(obj.Ptr()).AsVRegValue()); in Append()
396 (reinterpret_cast<StackReference<mirror::Object>*>(&args[i + offset]))->AsMirrorPtr(); in CheckMethodArguments()
Dart_method.cc346 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()
177 StackReference<T>* Begin() const { in Begin()
180 StackReference<T>* End() const { in End()
258 begin_ = reinterpret_cast<StackReference<T>*>(addr); in Init()
271 StackReference<T>* begin_;
/art/runtime/interpreter/
Dshadow_frame.h55 (sizeof(StackReference<mirror::Object>) * num_vregs); in ComputeSize()
185 ref = reinterpret_cast<const StackReference<mirror::Object>*>(vreg_ptr)->AsMirrorPtr(); in GetVRegReference()
255 reinterpret_cast<StackReference<mirror::Object>*>(vreg)->Assign(val); in SetVRegReference()
276 bool Contains(StackReference<mirror::Object>* shadow_frame_entry_obj) const { in Contains()
380 memset(vregs_, 0, num_vregs * (sizeof(uint32_t) + sizeof(StackReference<mirror::Object>))); in ShadowFrame()
386 const StackReference<mirror::Object>* References() const { in References()
389 return reinterpret_cast<const StackReference<mirror::Object>*>(vreg_end); in References()
392 StackReference<mirror::Object>* References() { in References()
393 return const_cast<StackReference<mirror::Object>*>( in References()
Dinterpreter.cc430 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/tools/cpp-define-generator/
Dconstant_reference.def19 #include "stack.h" // StackReference
25 DEFINE_EXPR(STACK_REFERENCE_SIZE, size_t, sizeof(art::StackReference<art::mirror::Object…
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc323 static StackReference<mirror::Object>* GetProxyThisObjectReference(ArtMethod** sp) in GetProxyThisObjectReference()
331 return reinterpret_cast<StackReference<mirror::Object>*>(this_arg_address); in GetProxyThisObjectReference()
683 StackReference<mirror::Object>* stack_ref = in Visit()
684 reinterpret_cast<StackReference<mirror::Object>*>(GetParamAddress()); in Visit()
884 StackReference<mirror::Object>* stack_ref = in Visit()
885 reinterpret_cast<StackReference<mirror::Object>*>(GetParamAddress()); in Visit()
988 ref_arg_ = reinterpret_cast<StackReference<mirror::Object>*>(GetParamAddress()); in Visit()
993 StackReference<mirror::Object>* GetReferenceArgument() { in GetReferenceArgument()
1003 StackReference<mirror::Object>* ref_arg_;
1010 extern "C" StackReference<mirror::Object>* artQuickGetProxyReferenceArgumentAt(size_t arg_pos, in artQuickGetProxyReferenceArgumentAt()
[all …]
Dquick_entrypoints.h41 template<class MirrorType> class StackReference; variable
/art/runtime/gc/collector/
Dmark_sweep.cc391 std::vector<StackReference<mirror::Object>> temp(mark_stack_->Begin(), mark_stack_->End()); in ResizeMarkStack()
674 StackReference<mirror::Object>* mark_stack) in MarkStackTask()
769 StackReference<mirror::Object> mark_stack_[kMaxSize];
836 StackReference<mirror::Object>* mark_stack_obj, in CardScanTask()
890 StackReference<mirror::Object>* mark_stack_begin = mark_stack_->Begin(); in ScanGrayObjects()
891 StackReference<mirror::Object>* mark_stack_end = mark_stack_->End(); in ScanGrayObjects()
1215 StackReference<mirror::Object>* objects = allocations->Begin(); in SweepArray()
1244 StackReference<mirror::Object>* out = objects; in SweepArray()
Dsemi_space.cc447 std::vector<StackReference<Object>> temp(mark_stack_->Begin(), mark_stack_->End()); in ResizeMarkStack()
605 auto ref = StackReference<mirror::Object>::FromMirrorPtr(root); in MarkObject()
619 auto ref = StackReference<mirror::Object>::FromMirrorPtr(*root); in VisitRoots()
Dmark_compact.cc254 std::vector<StackReference<mirror::Object>> temp(mark_stack_->Begin(), mark_stack_->End()); in ResizeMarkStack()
/art/compiler/jni/quick/
Dcalling_convention.h81 handle_scope_pointer_size_(sizeof(StackReference<mirror::Object>)), in CallingConvention()
/art/runtime/generated/
Dasm_support_gen.h24 …cast<size_t>(STACK_REFERENCE_SIZE), (static_cast<size_t>(sizeof(art::StackReference<art::mirror::O…
/art/compiler/optimizing/
Dcode_generator.cc241 roots->Set(index, reinterpret_cast<StackReference<mirror::String>*>(address)->AsMirrorPtr()); in EmitJitRoots()
254 roots->Set(index, reinterpret_cast<StackReference<mirror::Class>*>(address)->AsMirrorPtr()); in EmitJitRoots()