/art/runtime/mirror/ |
D | method.cc | 27 GcRoot<Class> Method::static_class_; 28 GcRoot<Class> Method::array_class_; 29 GcRoot<Class> Constructor::static_class_; 30 GcRoot<Class> Constructor::array_class_; 35 static_class_ = GcRoot<Class>(klass); in SetClass() 40 static_class_ = GcRoot<Class>(nullptr); in ResetClass() 46 array_class_ = GcRoot<Class>(klass); in SetArrayClass() 51 array_class_ = GcRoot<Class>(nullptr); in ResetArrayClass() 71 static_class_ = GcRoot<Class>(klass); in SetClass() 76 static_class_ = GcRoot<Class>(nullptr); in ResetClass() [all …]
|
D | field.cc | 27 GcRoot<Class> Field::static_class_; 28 GcRoot<Class> Field::array_class_; 33 static_class_ = GcRoot<Class>(klass); in SetClass() 38 static_class_ = GcRoot<Class>(nullptr); in ResetClass() 44 array_class_ = GcRoot<Class>(klass); in SetArrayClass() 49 array_class_ = GcRoot<Class>(nullptr); in ResetArrayClass()
|
D | reference.cc | 25 GcRoot<Class> Reference::java_lang_ref_Reference_; 30 java_lang_ref_Reference_ = GcRoot<Class>(java_lang_ref_Reference); in SetClass() 35 java_lang_ref_Reference_ = GcRoot<Class>(nullptr); in ResetClass()
|
D | method.h | 53 static GcRoot<Class> static_class_; // java.lang.reflect.Method.class. 54 static GcRoot<Class> array_class_; // [java.lang.reflect.Method.class. 84 static GcRoot<Class> static_class_; // java.lang.reflect.Constructor.class. 85 static GcRoot<Class> array_class_; // [java.lang.reflect.Constructor.class.
|
D | stack_trace_element.cc | 29 GcRoot<Class> StackTraceElement::java_lang_StackTraceElement_; 34 java_lang_StackTraceElement_ = GcRoot<Class>(java_lang_StackTraceElement); in SetClass() 39 java_lang_StackTraceElement_ = GcRoot<Class>(nullptr); in ResetClass()
|
D | throwable.cc | 33 GcRoot<Class> Throwable::java_lang_Throwable_; 155 java_lang_Throwable_ = GcRoot<Class>(java_lang_Throwable); in SetClass() 160 java_lang_Throwable_ = GcRoot<Class>(nullptr); in ResetClass()
|
D | array.h | 158 array_class_ = GcRoot<Class>(array_class); in SetArrayClass() 168 array_class_ = GcRoot<Class>(nullptr); in ResetArrayClass() 174 static GcRoot<Class> array_class_;
|
D | field.h | 132 static GcRoot<Class> static_class_; // java.lang.reflect.Field.class. 133 static GcRoot<Class> array_class_; // array of java.lang.reflect.Field.
|
D | string.cc | 35 GcRoot<Class> String::java_lang_String_; 58 java_lang_String_ = GcRoot<Class>(java_lang_String); in SetClass() 63 java_lang_String_ = GcRoot<Class>(nullptr); in ResetClass()
|
D | throwable.h | 76 static GcRoot<Class> java_lang_Throwable_;
|
D | stack_trace_element.h | 76 static GcRoot<Class> java_lang_StackTraceElement_;
|
D | reference.h | 117 static GcRoot<Class> java_lang_ref_Reference_;
|
/art/runtime/ |
D | gc_root-inl.h | 30 inline MirrorType* GcRoot<MirrorType>::Read() const { in Read() 35 inline GcRoot<MirrorType>::GcRoot(MirrorType* ref) in GcRoot() function
|
D | intern_table.h | 117 std::size_t operator()(const GcRoot<mirror::String>& root) const NO_THREAD_SAFETY_ANALYSIS; 118 bool operator()(const GcRoot<mirror::String>& a, const GcRoot<mirror::String>& b) const 123 void MakeEmpty(GcRoot<mirror::String>& item) const { in MakeEmpty() 124 item = GcRoot<mirror::String>(); in MakeEmpty() 126 bool IsEmpty(const GcRoot<mirror::String>& item) const { in IsEmpty() 162 typedef HashSet<GcRoot<mirror::String>, GcRootEmptyFn, StringHashEquals, StringHashEquals, 163 TrackingAllocator<GcRoot<mirror::String>, kAllocatorTagInternTable>> UnorderedSet; 232 std::vector<GcRoot<mirror::String>> new_strong_intern_roots_
|
D | indirect_reference_table.h | 207 references_[serial_] = GcRoot<mirror::Object>(obj); in Add() 209 GcRoot<mirror::Object>* GetReference() { in GetReference() 218 references_[serial_] = GcRoot<mirror::Object>(obj); in SetReference() 223 GcRoot<mirror::Object> references_[kIRTPrevCount]; 240 GcRoot<mirror::Object>* operator*() {
|
D | reference_table.cc | 49 entries_.push_back(GcRoot<mirror::Object>(obj)); in Add() 121 bool operator()(GcRoot<mirror::Object> root1, GcRoot<mirror::Object> root2) const in Dump() 201 for (GcRoot<mirror::Object>& root : entries) { in Dump() 216 for (GcRoot<mirror::Object>& root : sorted_entries) { in Dump() 242 for (GcRoot<mirror::Object>& root : entries_) { in VisitRoots()
|
D | intern_table.cc | 106 new_strong_intern_roots_.push_back(GcRoot<mirror::String>(s)); in InsertStrong() 319 std::size_t InternTable::StringHashEquals::operator()(const GcRoot<mirror::String>& root) const { in operator ()() 326 bool InternTable::StringHashEquals::operator()(const GcRoot<mirror::String>& a, in operator ()() 327 const GcRoot<mirror::String>& b) const { in operator ()() 346 auto it = post_zygote_table_.Find(GcRoot<mirror::String>(s)); in Remove() 350 it = pre_zygote_table_.Find(GcRoot<mirror::String>(s)); in Remove() 358 auto it = pre_zygote_table_.Find(GcRoot<mirror::String>(s)); in Find() 362 it = post_zygote_table_.Find(GcRoot<mirror::String>(s)); in Find() 382 post_zygote_table_.Insert(GcRoot<mirror::String>(s)); in Insert() 409 *it = GcRoot<mirror::String>(new_object->AsString()); in SweepWeaks()
|
D | reference_table.h | 56 typedef std::vector<GcRoot<mirror::Object>, 57 TrackingAllocator<GcRoot<mirror::Object>, kAllocatorTagReferenceTable>> Table;
|
D | class_linker.h | 701 std::vector<GcRoot<mirror::DexCache>> dex_caches_ GUARDED_BY(dex_lock_); 707 std::size_t operator()(const GcRoot<mirror::Class>& root) const NO_THREAD_SAFETY_ANALYSIS; 708 bool operator()(const GcRoot<mirror::Class>& a, const GcRoot<mirror::Class>& b) const 713 bool operator()(const GcRoot<mirror::Class>& a, 717 bool operator()(const GcRoot<mirror::Class>& a, const char* descriptor) const 723 void MakeEmpty(GcRoot<mirror::Class>& item) const { in MakeEmpty() 724 item = GcRoot<mirror::Class>(); in MakeEmpty() 726 bool IsEmpty(const GcRoot<mirror::Class>& item) const { in IsEmpty() 733 typedef HashSet<GcRoot<mirror::Class>, GcRootEmptyFn, ClassDescriptorHashEquals, 734 ClassDescriptorHashEquals, TrackingAllocator<GcRoot<mirror::Class>, kAllocatorTagClassTable>> [all …]
|
D | gc_root.h | 133 class GcRoot { 162 ALWAYS_INLINE GcRoot(MirrorType* ref = nullptr) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 188 ALWAYS_INLINE void VisitRootIfNonNull(GcRoot<MirrorType>& root) in VisitRootIfNonNull() 204 void VisitRoot(GcRoot<MirrorType>& root) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in VisitRoot()
|
D | art_method-inl.h | 62 declaring_class_ = GcRoot<mirror::Class>(new_declaring_class); in SetDeclaringClass() 466 dex_cache_resolved_methods_ = GcRoot<mirror::PointerArray>(new_dex_cache_methods); in SetDexCacheResolvedMethods() 471 dex_cache_resolved_types_ = GcRoot<mirror::ObjectArray<mirror::Class>>(new_dex_cache_types); in SetDexCacheResolvedTypes() 498 declaring_class_ = GcRoot<mirror::Class>(const_cast<ArtMethod*>(src)->GetDeclaringClass()); in CopyFrom() 499 dex_cache_resolved_methods_ = GcRoot<mirror::PointerArray>( in CopyFrom() 501 dex_cache_resolved_types_ = GcRoot<mirror::ObjectArray<mirror::Class>>( in CopyFrom()
|
D | indirect_reference_table.cc | 217 *table_[idx].GetReference() = GcRoot<mirror::Object>(nullptr); in Remove() 253 *table_[idx].GetReference() = GcRoot<mirror::Object>(nullptr); in Remove() 287 entries.push_back(GcRoot<mirror::Object>(obj)); in Dump()
|
D | art_field.h | 189 GcRoot<mirror::Class>& DeclaringClassRoot() { in DeclaringClassRoot() 201 GcRoot<mirror::Class> declaring_class_;
|
D | art_field.cc | 34 declaring_class_ = GcRoot<mirror::Class>(nullptr); in ArtField()
|
D | runtime.h | 581 GcRoot<mirror::Throwable> pre_allocated_OutOfMemoryError_; 582 GcRoot<mirror::Throwable> pre_allocated_NoClassDefFoundError_; 591 GcRoot<mirror::Object> sentinel_;
|