Searched defs:mirror (Results 1 - 25 of 109) sorted by path

12345

/art/compiler/
H A Dcommon_compiler_test.h30 namespace mirror { namespace in namespace:art
32 } // namespace mirror
54 void MakeExecutable(mirror::ClassLoader* class_loader, const char* class_name)
83 void CompileClass(mirror::ClassLoader* class_loader, const char* class_name)
88 void CompileDirectMethod(Handle<mirror::ClassLoader> class_loader, const char* class_name,
92 void CompileVirtualMethod(Handle<mirror::ClassLoader> class_loader, const char* class_name,
/art/compiler/debug/
H A Delf_debug_writer.h30 namespace mirror { namespace in namespace:art
58 const ArrayRef<mirror::Class*>& types)
/art/compiler/driver/
H A Dcompiler_driver.h37 #include "mirror/class.h" // For mirror::Class::Status.
47 namespace mirror { namespace in namespace:art
49 } // namespace mirror
200 bool CanAssumeTypeIsPresentInDexCache(Handle<mirror::DexCache> dex_cache,
209 Handle<mirror::DexCache> dex_cache,
216 Handle<mirror::DexCache> dex_cache,
232 mirror::DexCache* GetDexCache(const DexCompilationUnit* mUnit)
235 mirror::ClassLoader* GetClassLoader(const ScopedObjectAccess& soa,
240 mirror
[all...]
H A Ddex_compilation_unit.h28 namespace mirror { namespace in namespace:art
31 } // namespace mirror
45 Handle<mirror::DexCache> dex_cache);
111 Handle<mirror::DexCache> GetDexCache() const {
128 Handle<mirror::DexCache> dex_cache_;
/art/compiler/optimizing/
H A Dnodes.h35 #include "mirror/class.h"
64 namespace mirror { namespace in namespace:art
66 } // namespace mirror
159 typedef Handle<mirror::Class> TypeHandle;
230 Handle<mirror::Class> GetTypeHandle() const { return type_handle_; }
4963 Handle<mirror::DexCache> dex_cache)
4978 Handle<mirror::DexCache> GetDexCache() const { return dex_cache_; }
4987 const Handle<mirror::DexCache> dex_cache_;
4999 Handle<mirror::DexCache> dex_cache,
5052 Handle<mirror
[all...]
/art/patchoat/
H A Dpatchoat.h37 namespace mirror { namespace in namespace:art
42 } // namespace mirror
100 static void BitmapCallback(mirror::Object* obj, void* arg)
105 void VisitObject(mirror::Object* obj)
127 void PatchDexFileArrays(mirror::ObjectArray<mirror::Object>* img_roots)
194 PatchVisitor(PatchOat* patcher, mirror::Object* copy) : patcher_(patcher), copy_(copy) {}
196 void operator() (mirror::Object* obj, MemberOffset off, bool b) const
199 void operator() (mirror::Class* cls, mirror
[all...]
/art/runtime/
H A Dart_field.h33 namespace mirror { namespace in namespace:art
38 } // namespace mirror
44 mirror::Class* GetDeclaringClass() SHARED_REQUIRES(Locks::mutator_lock_);
46 void SetDeclaringClass(mirror::Class *new_declaring_class)
89 uint8_t GetBoolean(mirror::Object* object) SHARED_REQUIRES(Locks::mutator_lock_);
92 void SetBoolean(mirror::Object* object, uint8_t z) SHARED_REQUIRES(Locks::mutator_lock_);
94 int8_t GetByte(mirror::Object* object) SHARED_REQUIRES(Locks::mutator_lock_);
97 void SetByte(mirror::Object* object, int8_t b) SHARED_REQUIRES(Locks::mutator_lock_);
99 uint16_t GetChar(mirror::Object* object) SHARED_REQUIRES(Locks::mutator_lock_);
102 void SetChar(mirror
[all...]
H A Dart_method.h27 #include "mirror/object.h"
41 namespace mirror { namespace in namespace:art
46 } // namespace mirror
233 ALWAYS_INLINE mirror::Class* GetDeclaringClass() SHARED_REQUIRES(Locks::mutator_lock_);
236 ALWAYS_INLINE mirror::Class* GetDeclaringClassUnchecked()
239 void SetDeclaringClass(mirror::Class *new_declaring_class)
242 bool CASDeclaringClass(mirror::Class* expected_class, mirror::Class* desired_class)
443 mirror::Class* GetDexCacheResolvedType(uint32_t type_idx, size_t ptr_size)
445 void SetDexCacheResolvedTypes(GcRoot<mirror
[all...]
H A Dclass_linker.h46 namespace mirror { namespace in namespace:art
54 } // namespace mirror
71 virtual bool operator()(mirror::Class* klass) = 0;
77 virtual void Visit(mirror::ClassLoader* class_loader)
83 // Well known mirror::Class roots accessed via GetClassRoot.
145 Handle<mirror::ClassLoader> class_loader,
161 mirror::Class* FindClass(Thread* self,
163 Handle<mirror::ClassLoader> class_loader)
176 Handle<mirror::ClassLoader> class_loader,
177 mirror
[all...]
H A Dclass_table.h35 namespace mirror { namespace in namespace:art
37 } // namespace mirror
45 uint32_t operator()(const GcRoot<mirror::Class>& root) const NO_THREAD_SAFETY_ANALYSIS;
47 bool operator()(const GcRoot<mirror::Class>& a, const GcRoot<mirror::Class>& b) const
50 bool operator()(const GcRoot<mirror::Class>& a, const char* descriptor) const
57 void MakeEmpty(GcRoot<mirror::Class>& item) const {
58 item = GcRoot<mirror::Class>();
60 bool IsEmpty(const GcRoot<mirror::Class>& item) const {
66 typedef HashSet<GcRoot<mirror
[all...]
H A Dcommon_throws.h24 namespace mirror { namespace in namespace:art
27 } // namespace mirror
53 void ThrowArrayStoreException(mirror::Class* element_class, mirror::Class* array_class)
58 void ThrowClassCircularityError(mirror::Class* c)
61 void ThrowClassCircularityError(mirror::Class* c, const char* fmt, ...)
66 void ThrowClassCastException(mirror::Class* dest_type, mirror::Class* src_type)
74 void ThrowClassFormatError(mirror::Class* referrer, const char* fmt, ...)
80 void ThrowIllegalAccessErrorClass(mirror
[all...]
H A Ddebugger.h38 namespace mirror { namespace in namespace:art
42 } // namespace mirror
56 mirror::Object* invoke_receiver, mirror::Class* invoke_class,
71 GcRoot<mirror::Object> receiver; // not used for ClassType.InvokeMethod.
72 GcRoot<mirror::Class> klass;
264 static std::string GetClassName(mirror::Class* klass)
320 static bool MatchType(mirror::Class* event_class, JDWP::RefTypeId class_id)
327 static bool MatchInstance(JDWP::ObjectId expected_instance_id, mirror::Object* event_instance)
448 static void GetThreads(mirror
[all...]
H A Ddex_file.h32 #include "mirror/object_array.h"
38 // TODO: remove dependencies on mirror classes, primarily by moving
40 namespace mirror { namespace in namespace:art
43 } // namespace mirror
976 mirror::Object* GetAnnotationForField(ArtField* field, Handle<mirror::Class> annotation_class)
978 mirror::ObjectArray<mirror::Object>* GetAnnotationsForField(ArtField* field) const
980 mirror::ObjectArray<mirror
[all...]
/art/runtime/entrypoints/
H A Dentrypoint_utils.h33 namespace mirror { namespace in namespace:art
38 } // namespace mirror
47 ALWAYS_INLINE inline mirror::Class* CheckObjectAlloc(uint32_t type_idx,
52 ALWAYS_INLINE inline mirror::Class* CheckClassInitializedForObjectAlloc(mirror::Class* klass,
62 ALWAYS_INLINE inline mirror::Object* AllocObjectFromCode(uint32_t type_idx,
70 ALWAYS_INLINE inline mirror::Object* AllocObjectFromCodeResolved(mirror::Class* klass,
77 ALWAYS_INLINE inline mirror::Object* AllocObjectFromCodeInitialized(mirror
[all...]
/art/runtime/entrypoints/quick/
H A Dquick_default_externs.h23 namespace mirror { namespace in namespace:art
27 } // namespace mirror
34 extern "C" void art_quick_check_cast(const art::mirror::Class*, const art::mirror::Class*);
69 extern "C" void art_quick_aput_obj_with_null_and_bound_check(art::mirror::Array*, int32_t,
70 art::mirror::Object*);
71 extern "C" void art_quick_aput_obj_with_bound_check(art::mirror::Array*, int32_t,
72 art::mirror::Object*);
73 extern "C" void art_quick_aput_obj(art::mirror::Array*, int32_t, art::mirror
[all...]
H A Dquick_entrypoints.h31 namespace mirror { namespace in namespace:art
36 } // namespace mirror
62 extern mirror::Object* JniMethodEndWithReference(jobject result, uint32_t saved_local_ref_cookie,
66 extern mirror::Object* JniMethodEndWithReferenceSynchronized(jobject result,
71 extern void ReadBarrierJni(mirror::CompressedReference<mirror::Object>* handle_on_stack,
85 extern "C" mirror::Object* artReadBarrierMark(mirror::Object* obj)
91 extern "C" mirror::Object* artReadBarrierSlow(mirror
[all...]
/art/runtime/gc/accounting/
H A Dcard_table.h29 namespace mirror { namespace in namespace:art
31 } // namespace mirror
64 bool IsDirty(const mirror::Object* obj) const {
69 uint8_t GetCard(const mirror::Object* obj) const {
H A Dcard_table_test.cc24 #include "mirror/class-inl.h"
25 #include "mirror/string-inl.h" // Strings are easiest to allocate
32 namespace mirror { namespace in namespace:art
34 } // namespace mirror
84 auto obj = reinterpret_cast<const mirror::Object*>(addr);
126 EXPECT_EQ(card_table_->GetCard(reinterpret_cast<mirror::Object*>(cur)),
131 EXPECT_EQ(card_table_->GetCard(reinterpret_cast<mirror::Object*>(cur)),
H A Dmod_union_table.h31 namespace mirror { namespace in namespace:art
33 } // namespace mirror
125 virtual bool ShouldAddReference(const mirror::Object* ref) const = 0;
138 AllocationTrackingSafeMap<const uint8_t*, std::vector<mirror::HeapReference<mirror::Object>*>,
H A Dspace_bitmap.h32 namespace mirror { namespace in namespace:art
35 } // namespace mirror
44 typedef void ScanCallback(mirror::Object* obj, void* finger, void* arg);
45 typedef void SweepCallback(size_t ptr_count, mirror::Object** ptrs, void* arg);
76 bool Set(const mirror::Object* obj) ALWAYS_INLINE {
80 bool Clear(const mirror::Object* obj) ALWAYS_INLINE {
85 bool AtomicTestAndSet(const mirror::Object* obj);
90 bool Test(const mirror::Object* obj) const;
110 void operator()(mirror::Object* obj) const {
120 visitor(reinterpret_cast<mirror
[all...]
/art/runtime/gc/
H A Dallocation_record.h32 namespace mirror { namespace in namespace:art
158 AllocRecord(size_t count, mirror::Class* klass, AllocRecordStackTrace&& trace)
177 mirror::Class* GetClass() const SHARED_REQUIRES(Locks::mutator_lock_) {
184 GcRoot<mirror::Class>& GetClassGcRoot() SHARED_REQUIRES(Locks::mutator_lock_) {
195 GcRoot<mirror::Class> klass_;
202 // GcRoot<mirror::Object> pointers in the list are weak roots, and the last recent_record_max_
205 // recent allocation tracking, but GcRoot<mirror::Object> pointers in these pairs can become null.
207 using EntryPair = std::pair<GcRoot<mirror::Object>, AllocRecord>;
213 mirror::Object** obj,
223 void Put(mirror
[all...]
/art/runtime/gc/collector/
H A Dgarbage_collector.h34 namespace mirror { namespace in namespace:art
38 } // namespace mirror
188 virtual mirror::Object* IsMarked(mirror::Object* obj)
190 virtual bool IsMarkedHeapReference(mirror::HeapReference<mirror::Object>* obj)
195 virtual mirror::Object* MarkObject(mirror::Object* obj)
197 virtual void MarkHeapReference(mirror::HeapReference<mirror
[all...]
H A Dimmune_region.h24 namespace mirror { namespace in namespace:art
26 } // namespace mirror
46 ALWAYS_INLINE bool ContainsObject(const mirror::Object* obj) const {
51 void SetBegin(mirror::Object* begin) {
56 void SetEnd(mirror::Object* end) {
61 mirror::Object* Begin() const {
65 mirror::Object* End() const {
78 mirror::Object* begin_;
79 mirror::Object* end_;
H A Dimmune_spaces_test.cc25 namespace mirror { namespace in namespace:art
27 } // namespace mirror
H A Dmark_compact.h38 namespace mirror { namespace in namespace:art
41 } // namespace mirror
49 typedef AtomicStack<mirror::Object> ObjectStack;
90 void ScanObject(mirror::Object* obj)
117 virtual void VisitRoots(mirror::Object*** roots, size_t count, const RootInfo& info)
120 virtual void VisitRoots(mirror::CompressedReference<mirror::Object>** roots, size_t count,
125 void DelayReferenceReferent(mirror::Class* klass, mirror::Reference* reference)
131 mirror
[all...]

Completed in 251 milliseconds

12345