Searched defs:mirror (Results 26 - 50 of 109) sorted by path

12345

/art/runtime/gc/collector/
H A Dmark_sweep.h35 namespace mirror { namespace in namespace:art
39 } // namespace mirror
50 typedef AtomicStack<mirror::Object> ObjectStack;
163 void ScanObject(mirror::Object* obj)
170 void ScanObjectVisit(mirror::Object* obj,
181 static mirror::Object* VerifySystemWeakIsLiveCallback(mirror::Object* obj, void* arg)
188 void VerifyIsLive(const mirror::Object* obj)
191 virtual bool IsMarkedHeapReference(mirror::HeapReference<mirror
[all...]
H A Dsemi_space-inl.h23 #include "mirror/object-inl.h"
29 inline mirror::Object* SemiSpace::GetForwardingAddressInFromSpace(mirror::Object* obj) const {
35 return reinterpret_cast<mirror::Object*>(lock_word.ForwardingAddress());
43 mirror::ObjectReference<kPoisonReferences, mirror::Object>* obj_ptr) {
44 mirror::Object* obj = obj_ptr->AsMirrorPtr();
49 mirror::Object* forward_address = GetForwardingAddressInFromSpace(obj);
64 auto slow_path = [this](const mirror::Object* ref) {
78 mirror
42 MarkObject( mirror::ObjectReference<kPoisonReferences, mirror::Object>* obj_ptr) argument
77 MarkObjectIfNotInToSpace( mirror::ObjectReference<kPoisonReferences, mirror::Object>* obj_ptr) argument
[all...]
H A Dsemi_space.h29 #include "mirror/object_reference.h"
37 namespace mirror { namespace in namespace:art
40 } // namespace mirror
48 typedef AtomicStack<mirror::Object> ObjectStack;
103 void MarkObject(mirror::ObjectReference<kPoisonReferences, mirror::Object>* obj_ptr)
107 void MarkObjectIfNotInToSpace(mirror::ObjectReference<kPoisonReferences, mirror::Object>* obj_ptr)
110 virtual mirror::Object* MarkObject(mirror
[all...]
/art/runtime/gc/
H A Dheap.h52 namespace mirror { namespace in namespace:art
55 } // namespace mirror
192 mirror::Object* AllocObject(Thread* self,
193 mirror::Class* klass,
204 mirror::Object* AllocNonMovableObject(Thread* self,
205 mirror::Class* klass,
216 ALWAYS_INLINE mirror::Object* AllocObjectWithAllocator(Thread* self,
217 mirror::Class* klass,
240 void CheckPreconditionsForAllocObject(mirror::Class* c, size_t byte_count)
262 void VerifyObjectBody(mirror
[all...]
H A Dreference_processor.h30 namespace mirror { namespace in namespace:art
35 } // namespace mirror
60 mirror::Object* GetReferent(Thread* self, mirror::Reference* reference)
63 void DelayReferenceReferent(mirror::Class* klass, mirror::Reference* ref,
69 bool MakeCircularListIfUnenqueued(mirror::FinalizerReference* reference)
H A Dreference_queue.h34 namespace mirror { namespace in namespace:art
36 } // namespace mirror
57 void AtomicEnqueueIfNotEnqueued(Thread* self, mirror::Reference* ref)
62 void EnqueueReference(mirror::Reference* ref) SHARED_REQUIRES(Locks::mutator_lock_);
65 mirror::Reference* DequeuePendingReference() SHARED_REQUIRES(Locks::mutator_lock_);
94 mirror::Reference* GetList() SHARED_REQUIRES(Locks::mutator_lock_) {
108 mirror::Reference* list_;
/art/runtime/gc/space/
H A Dspace.h33 namespace mirror { namespace in namespace:art
35 } // namespace mirror
97 virtual bool Contains(const mirror::Object* obj) const = 0;
215 virtual mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated,
219 virtual mirror::Object* AllocThreadUnsafe(Thread* self, size_t num_bytes, size_t* bytes_allocated,
227 virtual size_t AllocationSize(mirror::Object* obj, size_t* usable_size) = 0;
230 virtual size_t Free(Thread* self, mirror::Object* ptr) = 0;
233 virtual size_t FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) = 0;
309 bool HasAddress(const mirror::Object* obj) const {
314 bool Contains(const mirror
[all...]
/art/runtime/
H A Dgc_root.h22 #include "mirror/object_reference.h"
28 namespace mirror { namespace in namespace:art
30 } // namespace mirror
93 ALWAYS_INLINE void VisitRoot(mirror::Object** root, const RootInfo& info)
99 ALWAYS_INLINE void VisitRootIfNonNull(mirror::Object** root, const RootInfo& info)
106 virtual void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info)
109 virtual void VisitRoots(mirror::CompressedReference<mirror::Object>** roots, size_t count,
118 void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info) OVERRIDE
125 void VisitRoots(mirror
[all...]
H A Dhandle_scope.h29 namespace mirror { namespace in namespace:art
62 ALWAYS_INLINE mirror::Object* GetReference(size_t i) const
65 ALWAYS_INLINE Handle<mirror::Object> GetHandle(size_t i);
67 ALWAYS_INLINE MutableHandle<mirror::Object> GetMutableHandle(size_t i)
70 ALWAYS_INLINE void SetReference(size_t i, mirror::Object* object)
73 ALWAYS_INLINE bool Contains(StackReference<mirror::Object>* handle_scope_entry) const;
98 ALWAYS_INLINE StackReference<mirror::Object>* GetReferences() const {
100 return reinterpret_cast<StackReference<mirror::Object>*>(address);
119 // StackReference<mirror::Object> references_[number_of_references_]
148 explicit ALWAYS_INLINE StackHandleScope(Thread* self, mirror
[all...]
H A Dindirect_reference_table-inl.h27 namespace mirror { namespace in namespace:art
29 } // namespace mirror
85 inline mirror::Object* IndirectReferenceTable::Get(IndirectRef iref) const {
90 mirror::Object* obj = table_[idx].GetReference()->Read<kReadBarrierOption>();
95 inline void IndirectReferenceTable::Update(IndirectRef iref, mirror::Object* obj) {
H A Dindirect_reference_table.h36 namespace mirror { namespace in namespace:art
38 } // namespace mirror
203 void Add(mirror::Object* obj) SHARED_REQUIRES(Locks::mutator_lock_) {
208 references_[serial_] = GcRoot<mirror::Object>(obj);
210 GcRoot<mirror::Object>* GetReference() {
217 void SetReference(mirror::Object* obj) {
219 references_[serial_] = GcRoot<mirror::Object>(obj);
224 GcRoot<mirror::Object> references_[kIRTPrevCount];
240 GcRoot<mirror::Object>* operator*() {
280 IndirectRef Add(uint32_t cookie, mirror
[all...]
H A Dinstrumentation.h31 namespace mirror { namespace in namespace:art
35 } // namespace mirror
64 virtual void MethodEntered(Thread* thread, mirror::Object* this_object,
69 virtual void MethodExited(Thread* thread, mirror::Object* this_object,
76 virtual void MethodUnwind(Thread* thread, mirror::Object* this_object,
81 virtual void DexPcMoved(Thread* thread, mirror::Object* this_object,
86 virtual void FieldRead(Thread* thread, mirror::Object* this_object, ArtMethod* method,
90 virtual void FieldWritten(Thread* thread, mirror::Object* this_object, ArtMethod* method,
94 virtual void ExceptionCaught(Thread* thread, mirror::Throwable* exception_object)
106 mirror
[all...]
H A Dintern_table.h40 namespace mirror { namespace in namespace:art
42 } // namespace mirror
60 mirror::String* InternStrong(int32_t utf16_length, const char* utf8_data)
66 mirror::String* InternStrongImageString(mirror::String* s)
70 mirror::String* InternStrong(const char* utf8_data) SHARED_REQUIRES(Locks::mutator_lock_)
74 mirror::String* InternStrong(mirror::String* s) SHARED_REQUIRES(Locks::mutator_lock_)
78 mirror::String* InternWeak(mirror
[all...]
H A Djava_vm_ext.h29 namespace mirror { namespace in namespace:art
31 } // namespace mirror
122 jobject AddGlobalRef(Thread* self, mirror::Object* obj)
125 jweak AddWeakGlobalRef(Thread* self, mirror::Object* obj)
135 mirror::Object* DecodeGlobal(IndirectRef ref)
138 void UpdateGlobal(Thread* self, IndirectRef ref, mirror::Object* result)
141 mirror::Object* DecodeWeakGlobal(Thread* self, IndirectRef ref)
145 mirror::Object* DecodeWeakGlobalLocked(Thread* self, IndirectRef ref)
151 mirror::Object* DecodeWeakGlobalDuringShutdown(Thread* self, IndirectRef ref)
164 void UpdateWeakGlobal(Thread* self, IndirectRef ref, mirror
[all...]
H A Djvalue.h25 namespace mirror { namespace in namespace:art
27 } // namespace mirror
55 mirror::Object* GetL() const { return l; }
56 void SetL(mirror::Object* new_l) { l = new_l; }
66 mirror::Object** GetGCRoot() { return &l; }
77 mirror::Object* l;
H A Dlock_word.h28 namespace mirror { namespace in namespace:art
30 } // namespace mirror
34 /* The lock value itself as stored in mirror::Object::monitor_. The two most significant bits of
257 friend class mirror::Object;
/art/runtime/interpreter/
H A Dinterpreter.h24 namespace mirror { namespace in namespace:art
26 } // namespace mirror
39 mirror::Object* receiver, uint32_t* args, JValue* result,
H A Dunstarted_runtime.h31 namespace mirror { namespace in namespace:art
33 } // namespace mirror
59 mirror::Object* receiver,
82 mirror::Object* receiver, \
/art/runtime/jdwp/
H A Djdwp.h41 namespace mirror { namespace in namespace:art
45 } // namespace mirror
203 void PostLocationEvent(const EventLocation* pLoc, mirror::Object* thisPtr, int eventFlags,
214 void PostFieldEvent(const EventLocation* pLoc, ArtField* field, mirror::Object* thisPtr,
223 void PostException(const EventLocation* pThrowLoc, mirror::Throwable* exception_object,
224 const EventLocation* pCatchLoc, mirror::Object* thisPtr)
236 void PostClassPrepare(mirror::Class* klass)
H A Dobject_registry.h32 namespace mirror { namespace in namespace:art
35 } // namespace mirror
65 JDWP::ObjectId Add(mirror::Object* o)
69 JDWP::RefTypeId AddRefType(mirror::Class* c)
78 JDWP::RefTypeId AddRefType(Handle<mirror::Class> c_h)
115 mirror::Object* InternalGet(JDWP::ObjectId id, JDWP::JdwpError* error)
124 bool ContainsLocked(Thread* self, mirror::Object* o, int32_t identity_hash_code,
/art/runtime/jit/
H A Dprofiling_info.h34 namespace mirror { namespace in namespace:art
56 mirror::Class* GetMonomorphicType() const SHARED_REQUIRES(Locks::mutator_lock_) {
72 mirror::Class* GetTypeAt(size_t i) const SHARED_REQUIRES(Locks::mutator_lock_) {
80 GcRoot<mirror::Class> classes_[kIndividualCacheSize];
99 void AddInvokeInfo(uint32_t dex_pc, mirror::Class* cls)
150 InlineCache::kIndividualCacheSize * sizeof(GcRoot<mirror::Class>));
179 GcRoot<mirror::Class> holding_class_;
/art/runtime/lambda/
H A Dbox_table.h32 namespace mirror { namespace in namespace:art
34 } // namespace mirror
51 mirror::Object* BoxLambda(const ClosureType& closure)
55 bool UnboxLambda(mirror::Object* object, ClosureType* out_closure)
90 using ValueType = GcRoot<mirror::Object>;
H A Dclosure.h28 namespace mirror { namespace in namespace:art
30 } // namespace mirror
87 mirror::Object* GetCapturedObject(size_t index) const SHARED_REQUIRES(Locks::mutator_lock_);
H A Dclosure_builder.h30 namespace mirror { namespace in namespace:art
32 } // namespace mirror
52 void CaptureVariableObject(mirror::Object* object) SHARED_REQUIRES(Locks::mutator_lock_);
H A Dshorty_field_type.h29 namespace mirror { namespace in namespace:art
31 } // namespace mirror
350 // ShortyFieldTypeTraits::IsObjectType<mirror::Object*>() == true
380 // Note: This is equivalent to std::base_of<mirror::Object*, T>::value
411 IS_VALID_TYPE_SPECIALIZATION(mirror::Object*, Object);
469 SHORTY_FIELD_TYPE_SELECT_IMPL(mirror::Object*, kObject);

Completed in 200 milliseconds

12345