Home
last modified time | relevance | path

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

12

/art/runtime/mirror/
Dmethod.cc27 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 …]
Dfield.cc27 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()
Dreference.cc25 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()
Dmethod.h53 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.
Dstack_trace_element.cc29 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()
Dthrowable.cc33 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()
Darray.h158 array_class_ = GcRoot<Class>(array_class); in SetArrayClass()
168 array_class_ = GcRoot<Class>(nullptr); in ResetArrayClass()
174 static GcRoot<Class> array_class_;
Dfield.h132 static GcRoot<Class> static_class_; // java.lang.reflect.Field.class.
133 static GcRoot<Class> array_class_; // array of java.lang.reflect.Field.
Dstring.cc35 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()
Dthrowable.h76 static GcRoot<Class> java_lang_Throwable_;
Dstack_trace_element.h76 static GcRoot<Class> java_lang_StackTraceElement_;
Dreference.h117 static GcRoot<Class> java_lang_ref_Reference_;
/art/runtime/
Dgc_root-inl.h30 inline MirrorType* GcRoot<MirrorType>::Read() const { in Read()
35 inline GcRoot<MirrorType>::GcRoot(MirrorType* ref) in GcRoot() function
Dintern_table.h117 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_
Dindirect_reference_table.h207 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*() {
Dreference_table.cc49 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()
Dintern_table.cc106 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()
Dreference_table.h56 typedef std::vector<GcRoot<mirror::Object>,
57 TrackingAllocator<GcRoot<mirror::Object>, kAllocatorTagReferenceTable>> Table;
Dclass_linker.h701 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 …]
Dgc_root.h133 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()
Dart_method-inl.h62 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()
Dindirect_reference_table.cc217 *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()
Dart_field.h189 GcRoot<mirror::Class>& DeclaringClassRoot() { in DeclaringClassRoot()
201 GcRoot<mirror::Class> declaring_class_;
Dart_field.cc34 declaring_class_ = GcRoot<mirror::Class>(nullptr); in ArtField()
Druntime.h581 GcRoot<mirror::Throwable> pre_allocated_OutOfMemoryError_;
582 GcRoot<mirror::Throwable> pre_allocated_NoClassDefFoundError_;
591 GcRoot<mirror::Object> sentinel_;

12