Home
last modified time | relevance | path

Searched refs:callback (Results 1 – 25 of 36) sorted by relevance

12

/art/runtime/gc/accounting/
Dspace_bitmap.cc111 void SpaceBitmap<kAlignment>::Walk(ObjectCallback* callback, void* arg) { in Walk() argument
113 CHECK(callback != nullptr); in Walk()
124 (*callback)(obj, arg); in Walk()
135 SpaceBitmap::SweepCallback* callback, void* arg) { in SweepWalk() argument
140 CHECK(callback != nullptr); in SweepWalk()
177 (*callback)(pb - &pointer_buf[0], &pointer_buf[0], arg); in SweepWalk()
183 (*callback)(pb - &pointer_buf[0], &pointer_buf[0], arg); in SweepWalk()
189 ObjectCallback* callback, mirror::Object* obj, in WalkInstanceFields() argument
195 WalkInstanceFields(visited, callback, obj, super, arg); in WalkInstanceFields()
204 WalkFieldsInOrder(visited, callback, value, arg); in WalkInstanceFields()
[all …]
Dremembered_set.cc64 RememberedSetReferenceVisitor(MarkHeapReferenceCallback* callback, in RememberedSetReferenceVisitor() argument
68 : callback_(callback), ref_callback_(ref_callback), target_space_(target_space), arg_(arg), in RememberedSetReferenceVisitor()
101 RememberedSetObjectVisitor(MarkHeapReferenceCallback* callback, in RememberedSetObjectVisitor() argument
105 : callback_(callback), ref_callback_(ref_callback), target_space_(target_space), arg_(arg), in RememberedSetObjectVisitor()
123 void RememberedSet::UpdateAndMarkReferences(MarkHeapReferenceCallback* callback, in UpdateAndMarkReferences() argument
128 RememberedSetObjectVisitor obj_visitor(callback, ref_callback, target_space, in UpdateAndMarkReferences()
Dspace_bitmap.h101 void VisitRange(uintptr_t base, uintptr_t max, ObjectCallback* callback, void* arg) const;
132 void Walk(ObjectCallback* callback, void* arg)
137 void InOrderWalk(ObjectCallback* callback, void* arg)
205 static void WalkFieldsInOrder(SpaceBitmap* visited, ObjectCallback* callback, mirror::Object* obj,
209 static void WalkInstanceFields(SpaceBitmap<kAlignment>* visited, ObjectCallback* callback,
Dheap_bitmap.cc74 void HeapBitmap::Walk(ObjectCallback* callback, void* arg) { in Walk() argument
76 bitmap->Walk(callback, arg); in Walk()
79 bitmap->Walk(callback, arg); in Walk()
Dmod_union_table.cc98 ModUnionUpdateObjectReferencesVisitor(MarkHeapReferenceCallback* callback, void* arg, in ModUnionUpdateObjectReferencesVisitor() argument
102 : callback_(callback), arg_(arg), from_space_(from_space), immune_space_(immune_space), in ModUnionUpdateObjectReferencesVisitor()
132 ModUnionScanImageRootVisitor(MarkHeapReferenceCallback* callback, void* arg, in ModUnionScanImageRootVisitor() argument
136 : callback_(callback), arg_(arg), from_space_(from_space), immune_space_(immune_space), in ModUnionScanImageRootVisitor()
308 void ModUnionTableReferenceCache::UpdateAndMarkReferences(MarkHeapReferenceCallback* callback, in UpdateAndMarkReferences() argument
341 callback(obj_ptr, arg); in UpdateAndMarkReferences()
365 CardBitVisitor(MarkHeapReferenceCallback* callback, void* arg, space::ContinuousSpace* space, in CardBitVisitor() argument
367 : callback_(callback), arg_(arg), space_(space), immune_space_(immune_space), in CardBitVisitor()
403 void ModUnionTableCardCache::UpdateAndMarkReferences(MarkHeapReferenceCallback* callback, in UpdateAndMarkReferences() argument
408 CardBitVisitor visitor(callback, arg, space_, image_space != nullptr ? image_space : space_, in UpdateAndMarkReferences()
Dmod_union_table.h79 virtual void UpdateAndMarkReferences(MarkHeapReferenceCallback* callback, void* arg) = 0;
120 void UpdateAndMarkReferences(MarkHeapReferenceCallback* callback, void* arg) OVERRIDE
160 virtual void UpdateAndMarkReferences(MarkHeapReferenceCallback* callback, void* arg) OVERRIDE
Dremembered_set.h56 void UpdateAndMarkReferences(MarkHeapReferenceCallback* callback,
Dheap_bitmap.h51 void Walk(ObjectCallback* callback, void* arg)
/art/runtime/gc/space/
Drosalloc_space.cc261 void RosAllocSpace::Walk(void(*callback)(void *start, void *end, size_t num_bytes, void* callback_a… in Walk()
263 InspectAllRosAlloc(callback, arg, true); in Walk()
302 void (*callback)(void *start, void *end, size_t num_bytes, void* callback_arg), in InspectAllRosAllocWithSuspendAll()
311 rosalloc_->InspectAll(callback, arg); in InspectAllRosAllocWithSuspendAll()
313 callback(nullptr, nullptr, 0, arg); // Indicate end of a space. in InspectAllRosAllocWithSuspendAll()
319 void RosAllocSpace::InspectAllRosAlloc(void (*callback)(void *start, void *end, size_t num_bytes, v… in InspectAllRosAlloc()
326 rosalloc_->InspectAll(callback, arg); in InspectAllRosAlloc()
328 callback(nullptr, nullptr, 0, arg); // Indicate end of a space. in InspectAllRosAlloc()
335 InspectAllRosAllocWithSuspendAll(callback, arg, do_null_callback_at_end); in InspectAllRosAlloc()
340 InspectAllRosAllocWithSuspendAll(callback, arg, do_null_callback_at_end); in InspectAllRosAlloc()
Drosalloc_space.h107 void Walk(WalkCallback callback, void* arg) OVERRIDE LOCKS_EXCLUDED(lock_);
167 …void InspectAllRosAlloc(void (*callback)(void *start, void *end, size_t num_bytes, void* callback_…
171 void (*callback)(void *start, void *end, size_t num_bytes, void* callback_arg),
Dregion_space.h150 void Walk(ObjectCallback* callback, void* arg) in Walk() argument
152 WalkInternal<false>(callback, arg); in Walk()
155 void WalkToSpace(ObjectCallback* callback, void* arg) in WalkToSpace() argument
157 WalkInternal<true>(callback, arg); in WalkToSpace()
229 void WalkInternal(ObjectCallback* callback, void* arg) NO_THREAD_SAFETY_ANALYSIS;
Dbump_pointer_space.cc156 void BumpPointerSpace::Walk(ObjectCallback* callback, void* arg) { in Walk() argument
185 callback(obj, arg); in Walk()
201 callback(obj, arg); in Walk()
Dlarge_object_space.cc226 void LargeObjectMapSpace::Walk(DlMallocSpace::WalkCallback callback, void* arg) { in Walk() argument
230 callback(mem_map->Begin(), mem_map->End(), mem_map->Size(), arg); in Walk()
231 callback(nullptr, nullptr, 0, arg); in Walk()
378 void FreeListSpace::Walk(DlMallocSpace::WalkCallback callback, void* arg) { in Walk() argument
388 callback(byte_start, byte_end, alloc_size, arg); in Walk()
389 callback(nullptr, nullptr, 0, arg); in Walk()
Dregion_space-inl.h227 void RegionSpace::WalkInternal(ObjectCallback* callback, void* arg) { in WalkInternal() argument
240 callback(obj, arg); in WalkInternal()
250 callback(obj, arg); in WalkInternal()
Ddlmalloc_space.cc232 void DlMallocSpace::Walk(void(*callback)(void *start, void *end, size_t num_bytes, void* callback_a… in Walk()
235 mspace_inspect_all(mspace_, callback, arg); in Walk()
236 callback(nullptr, nullptr, 0, arg); // Indicate end of a space. in Walk()
Ddlmalloc_space.h107 void Walk(WalkCallback callback, void* arg) OVERRIDE LOCKS_EXCLUDED(lock_);
/art/runtime/
Dintern_table.cc291 void InternTable::SweepInternTableWeaks(IsMarkedCallback* callback, void* arg) { in SweepInternTableWeaks() argument
293 weak_interns_.SweepWeaks(callback, arg); in SweepInternTableWeaks()
396 void InternTable::Table::SweepWeaks(IsMarkedCallback* callback, void* arg) { in SweepWeaks() argument
397 SweepWeaks(&pre_zygote_table_, callback, arg); in SweepWeaks()
398 SweepWeaks(&post_zygote_table_, callback, arg); in SweepWeaks()
401 void InternTable::Table::SweepWeaks(UnorderedSet* set, IsMarkedCallback* callback, void* arg) { in SweepWeaks() argument
405 mirror::Object* new_object = callback(object, arg); in SweepWeaks()
Dintern_table.h71 void SweepInternTableWeaks(IsMarkedCallback* callback, void* arg)
145 void SweepWeaks(IsMarkedCallback* callback, void* arg)
165 void SweepWeaks(UnorderedSet* set, IsMarkedCallback* callback, void* arg)
Dmonitor.h98 static void VisitLocks(StackVisitor* stack_visitor, void (*callback)(mirror::Object*, void*),
290 void SweepMonitorList(IsMarkedCallback* callback, void* arg)
Djava_vm_ext.h122 void SweepJniWeakGlobals(IsMarkedCallback* callback, void* arg)
Dmonitor.cc995 void Monitor::VisitLocks(StackVisitor* stack_visitor, void (*callback)(mirror::Object*, void*), in VisitLocks()
1006 callback(jni_this, callback_context); in VisitLocks()
1054 callback(o, callback_context); in VisitLocks()
1158 void MonitorList::SweepMonitorList(IsMarkedCallback* callback, void* arg) { in SweepMonitorList() argument
1166 mirror::Object* new_obj = obj != nullptr ? callback(obj, arg) : nullptr; in SweepMonitorList()
/art/runtime/gc/
Dreference_queue.cc199 void ReferenceQueue::UpdateRoots(IsMarkedCallback* callback, void* arg) { in UpdateRoots() argument
201 list_ = down_cast<mirror::Reference*>(callback(list_, arg)); in UpdateRoots()
Dreference_queue.h98 void UpdateRoots(IsMarkedCallback* callback, void* arg)
Dreference_processor.cc217 void ReferenceProcessor::UpdateRoots(IsMarkedCallback* callback, void* arg) { in UpdateRoots() argument
218 cleared_references_.UpdateRoots(callback, arg); in UpdateRoots()
Dreference_processor.h64 void UpdateRoots(IsMarkedCallback* callback, void* arg)

12