Home
last modified time | relevance | path

Searched refs:heap (Results 1 – 25 of 53) sorted by relevance

123

/art/runtime/gc/
Dheap_test.cc32 Heap* heap = Runtime::Current()->GetHeap(); in TEST_F() local
33 int64_t max_memory_before = heap->GetMaxMemory(); in TEST_F()
34 int64_t total_memory_before = heap->GetTotalMemory(); in TEST_F()
35 heap->ClearGrowthLimit(); in TEST_F()
36 int64_t max_memory_after = heap->GetMaxMemory(); in TEST_F()
37 int64_t total_memory_after = heap->GetTotalMemory(); in TEST_F()
/art/runtime/gc/accounting/
Dmod_union_table.h56 explicit ModUnionTable(const std::string& name, Heap* heap, space::ContinuousSpace* space) in ModUnionTable() argument
58 heap_(heap), in ModUnionTable()
100 explicit ModUnionTableReferenceCache(const std::string& name, Heap* heap, in ModUnionTableReferenceCache() argument
102 : ModUnionTable(name, heap, space) {} in ModUnionTableReferenceCache()
136 …explicit ModUnionTableCardCache(const std::string& name, Heap* heap, space::ContinuousSpace* space) in ModUnionTableCardCache() argument
137 : ModUnionTable(name, heap, space) {} in ModUnionTableCardCache()
Dmod_union_table-inl.h31 explicit ModUnionTableToZygoteAllocspace(const std::string& name, Heap* heap, in ModUnionTableToZygoteAllocspace() argument
33 : ModUnionTableReferenceCache(name, heap, space) {} in ModUnionTableToZygoteAllocspace()
Dremembered_set.h49 explicit RememberedSet(const std::string& name, Heap* heap, space::ContinuousSpace* space) in RememberedSet() argument
50 : name_(name), heap_(heap), space_(space) {} in RememberedSet()
Dheap_bitmap.h60 explicit HeapBitmap(Heap* heap) : heap_(heap) {} in HeapBitmap() argument
Dmod_union_table.cc178 Heap* heap = mod_union_table_->GetHeap(); in operator ()() local
179 space::ContinuousSpace* from_space = heap->FindContinuousSpaceFromObject(obj, false); in operator ()()
180 space::ContinuousSpace* to_space = heap->FindContinuousSpaceFromObject(ref, false); in operator ()()
188 heap->DumpSpaces(LOG(INFO)); in operator ()()
300 if (VLOG_IS_ON(heap)) { in UpdateAndMarkReferences()
/art/runtime/mirror/
Dobject.cc85 gc::Heap* heap = Runtime::Current()->GetHeap(); in CopyObject() local
91 heap->WriteBarrierArray(dest, 0, array->GetLength()); in CopyObject()
94 heap->WriteBarrierEveryFieldOf(dest); in CopyObject()
97 heap->AddFinalizerReference(self, &dest); in CopyObject()
126 gc::Heap* heap = Runtime::Current()->GetHeap(); in Clone() local
132 if (heap->IsMovableObject(this)) { in Clone()
133 copy = heap->AllocObject<true>(self, GetClass(), num_bytes, visitor); in Clone()
135 copy = heap->AllocNonMovableObject<true>(self, GetClass(), num_bytes, visitor); in Clone()
Dobject_array-inl.h250 gc::Heap* heap = Runtime::Current()->GetHeap(); in CopyOf() local
251 gc::AllocatorType allocator_type = heap->IsMovableObject(this) ? heap->GetCurrentAllocator() : in CopyOf()
252 heap->GetCurrentNonMovingAllocator(); in CopyOf()
/art/runtime/
Druntime_android.cc49 gc::Heap* heap = runtime->GetHeap(); in HandleUnexpectedSignal() local
50 if (kDumpHeapObjectOnSigsevg && heap != nullptr && info != nullptr) { in HandleUnexpectedSignal()
52 heap->DumpObject(LOG(INTERNAL_FATAL), reinterpret_cast<mirror::Object*>(info->si_addr)); in HandleUnexpectedSignal()
/art/runtime/gc/space/
Dmalloc_space.cc134 VLOG(heap) << "MallocSpace::MoreCore " << PrettySize(increment); in MoreCore()
177 VLOG(heap) << "Begin " << reinterpret_cast<const void*>(begin_) << "\n" in CreateZygoteSpace()
185 VLOG(heap) << "Creating new AllocSpace: "; in CreateZygoteSpace()
186 VLOG(heap) << "Size " << GetMemMap()->Size(); in CreateZygoteSpace()
187 VLOG(heap) << "GrowthLimit " << PrettySize(growth_limit); in CreateZygoteSpace()
188 VLOG(heap) << "Capacity " << PrettySize(capacity); in CreateZygoteSpace()
213 VLOG(heap) << "Failed creating zygote space from space " << GetName(); in CreateZygoteSpace()
215 VLOG(heap) << "zygote space creation done"; in CreateZygoteSpace()
Ddlmalloc_space.cc81 if (VLOG_IS_ON(heap) || VLOG_IS_ON(startup)) { in Create()
105 if (VLOG_IS_ON(heap) || VLOG_IS_ON(startup)) { in Create()
218 Heap* heap = Runtime::Current()->GetHeap(); in art_heap_morecore() local
219 DlMallocSpace* dlmalloc_space = heap->GetDlMallocSpace(); in art_heap_morecore()
223 for (space::ContinuousSpace* space : heap->GetContinuousSpaces()) { in art_heap_morecore()
266 VLOG(heap) << "DlMallocSpace::SetFootprintLimit " << PrettySize(new_size); in SetFootprintLimit()
Drosalloc_space.cc92 if (VLOG_IS_ON(heap) || VLOG_IS_ON(startup)) { in Create()
118 if (VLOG_IS_ON(heap) || VLOG_IS_ON(startup)) { in Create()
229 Heap* heap = Runtime::Current()->GetHeap(); in art_heap_rosalloc_morecore() local
230 RosAllocSpace* rosalloc_space = heap->GetRosAllocSpace(rosalloc); in art_heap_rosalloc_morecore()
237 VLOG(heap) << "RosAllocSpace::Trim() "; in Trim()
267 VLOG(heap) << "RosAllocSpace::SetFootprintLimit " << PrettySize(new_size); in SetFootprintLimit()
Dspace_test.h42 Heap* heap = Runtime::Current()->GetHeap(); variable
44 heap->RevokeAllThreadLocalBuffers();
46 heap->AddSpace(space);
47 heap->SetSpaceAsDefault(space);
235 gc::Heap* heap = Runtime::Current()->GetHeap(); in ZygoteSpaceTestBody() local
237 heap->RemoveSpace(old_space); in ZygoteSpaceTestBody()
238 heap->RevokeAllThreadLocalBuffers(); in ZygoteSpaceTestBody()
240 heap->IsLowMemoryMode(), in ZygoteSpaceTestBody()
/art/compiler/
Dimage_test.cc119 gc::Heap* heap = Runtime::Current()->GetHeap(); in TEST_F() local
120 ASSERT_TRUE(!heap->GetContinuousSpaces().empty()); in TEST_F()
121 gc::space::ContinuousSpace* space = heap->GetNonMovingSpace(); in TEST_F()
165 gc::Heap* heap = Runtime::Current()->GetHeap(); in TEST_F() local
166 ASSERT_TRUE(heap->HasImageSpace()); in TEST_F()
167 ASSERT_TRUE(heap->GetNonMovingSpace()->IsMallocSpace()); in TEST_F()
169 gc::space::ImageSpace* image_space = heap->GetImageSpace(); in TEST_F()
Dimage_writer.cc132 gc::Heap* heap = Runtime::Current()->GetHeap(); in Write() local
133 heap->CollectGarbage(false); // Remove garbage. in Write()
513 gc::Heap* heap = Runtime::Current()->GetHeap(); in ProcessStrings() local
517 heap->VisitObjects(CountStringsCallback, &total_strings); // Count the strings. in ProcessStrings()
526 heap->VisitObjects(StringCollector::Callback, &string_collector); in ProcessStrings()
703 gc::Heap* heap = Runtime::Current()->GetHeap(); in CheckNonImageClassesRemoved() local
705 heap->VisitObjects(CheckNonImageClassesRemovedCallback, this); in CheckNonImageClassesRemoved()
899 gc::Heap* heap = Runtime::Current()->GetHeap(); in CalculateNewObjectOffsets() local
913 heap->VisitObjects(WalkFieldsCallback, this); in CalculateNewObjectOffsets()
915 heap->VisitObjects(UnbinObjectsIntoOffsetCallback, this); in CalculateNewObjectOffsets()
[all …]
/art/test/104-growth-limit/
Dinfo.txt2 conventions, can be cleared and the resulting heap is at least as large
3 as the growth limited heap.
/art/runtime/gc/collector/
Dpartial_mark_sweep.cc28 PartialMarkSweep::PartialMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix) in PartialMarkSweep() argument
29 : MarkSweep(heap, is_concurrent, name_prefix.empty() ? "partial " : name_prefix) { in PartialMarkSweep()
Dconcurrent_copying.h28 explicit ConcurrentCopying(Heap* heap, bool generational = false,
30 : GarbageCollector(heap,
Dsticky_mark_sweep.cc27 StickyMarkSweep::StickyMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix) in StickyMarkSweep() argument
28 : PartialMarkSweep(heap, is_concurrent, in StickyMarkSweep()
Dgarbage_collector.cc35 : duration_ns_(0), timings_("GC iteration timing logger", true, VLOG_IS_ON(heap)) { in Iteration()
54 GarbageCollector::GarbageCollector(Heap* heap, const std::string& name) in GarbageCollector() argument
55 : heap_(heap), in GarbageCollector()
Dpartial_mark_sweep.h33 explicit PartialMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix = "");
Dsticky_mark_sweep.h33 explicit StickyMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix = "");
/art/patchoat/
Dpatchoat.h65 MemMap* heap, off_t delta, TimingLogger* timings) in PatchOat() argument
66 : image_(image), bitmap_(bitmap), heap_(heap), in PatchOat()
69 gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta, in PatchOat() argument
71 : oat_file_(oat_file), image_(image), bitmap_(bitmap), heap_(heap), in PatchOat()
/art/runtime/native/
Ddalvik_system_VMDebug.cc250 gc::Heap* heap = Runtime::Current()->GetHeap(); in VMDebug_countInstancesOfClass() local
253 heap->CollectGarbage(false); in VMDebug_countInstancesOfClass()
261 heap->CountInstances(classes, countAssignable, &count); in VMDebug_countInstancesOfClass()
282 gc::Heap* heap = Runtime::Current()->GetHeap(); in VMDebug_getHeapSpaceStats() local
283 for (gc::space::ContinuousSpace* space : heap->GetContinuousSpaces()) { in VMDebug_getHeapSpaceStats()
302 for (gc::space::DiscontinuousSpace* space : heap->GetDiscontinuousSpaces()) { in VMDebug_getHeapSpaceStats()
/art/runtime/entrypoints/
Dentrypoint_utils.cc90 gc::Heap* heap = Runtime::Current()->GetHeap(); in CheckAndAllocArrayFromCode() local
94 heap->GetCurrentAllocator()); in CheckAndAllocArrayFromCode()
109 gc::Heap* heap = Runtime::Current()->GetHeap(); in CheckAndAllocArrayFromCodeInstrumented() local
113 heap->GetCurrentAllocator()); in CheckAndAllocArrayFromCodeInstrumented()

123