Searched defs:heap (Results 1 - 25 of 39) sorted by relevance

12

/art/runtime/gc/accounting/
H A Dheap_bitmap.h60 explicit HeapBitmap(Heap* heap) : heap_(heap) {} argument
H A Dmod_union_table-inl.h31 explicit ModUnionTableToZygoteAllocspace(const std::string& name, Heap* heap, argument
33 : ModUnionTableReferenceCache(name, heap, space) {}
H A Dremembered_set.h49 explicit RememberedSet(const std::string& name, Heap* heap, space::ContinuousSpace* space) argument
50 : name_(name), heap_(heap), space_(space) {}
H A Dmod_union_table.h56 explicit ModUnionTable(const std::string& name, Heap* heap, space::ContinuousSpace* space) argument
58 heap_(heap),
100 explicit ModUnionTableReferenceCache(const std::string& name, Heap* heap, argument
102 : ModUnionTable(name, heap, space) {}
136 explicit ModUnionTableCardCache(const std::string& name, Heap* heap, space::ContinuousSpace* space) argument
137 : ModUnionTable(name, heap, space) {}
H A Dmod_union_table.cc27 #include "gc/heap.h"
178 Heap* heap = mod_union_table_->GetHeap(); local
179 space::ContinuousSpace* from_space = heap->FindContinuousSpaceFromObject(obj, false);
180 space::ContinuousSpace* to_space = heap->FindContinuousSpaceFromObject(ref, false);
188 heap->DumpSpaces(LOG(INFO));
300 if (VLOG_IS_ON(heap)) {
/art/runtime/gc/collector/
H A Dconcurrent_copying.h28 explicit ConcurrentCopying(Heap* heap, bool generational = false, argument
30 : GarbageCollector(heap,
H A Dpartial_mark_sweep.cc19 #include "gc/heap.h"
28 PartialMarkSweep::PartialMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix) argument
29 : MarkSweep(heap, is_concurrent, name_prefix.empty() ? "partial " : name_prefix) {
H A Dsticky_mark_sweep.cc17 #include "gc/heap.h"
27 StickyMarkSweep::StickyMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix) argument
28 : PartialMarkSweep(heap, is_concurrent,
H A Dgarbage_collector.cc35 : duration_ns_(0), timings_("GC iteration timing logger", true, VLOG_IS_ON(heap)) {
54 GarbageCollector::GarbageCollector(Heap* heap, const std::string& name) argument
55 : heap_(heap),
/art/runtime/gc/
H A Dheap_test.cc32 Heap* heap = Runtime::Current()->GetHeap(); local
33 int64_t max_memory_before = heap->GetMaxMemory();
34 int64_t total_memory_before = heap->GetTotalMemory();
35 heap->ClearGrowthLimit();
36 int64_t max_memory_after = heap->GetMaxMemory();
37 int64_t total_memory_after = heap->GetTotalMemory();
H A Dheap-inl.h20 #include "heap.h"
276 inline Heap::AllocationTimer::AllocationTimer(Heap* heap, mirror::Object** allocated_obj_ptr) argument
277 : heap_(heap), allocated_obj_ptr_(allocated_obj_ptr) {
314 VLOG(heap) << "Growing heap from " << PrettySize(max_allowed_footprint_) << " to "
/art/runtime/
H A Druntime_android.cc49 gc::Heap* heap = runtime->GetHeap(); local
50 if (kDumpHeapObjectOnSigsevg && heap != nullptr && info != nullptr) {
51 LOG(INTERNAL_FATAL) << "Dump heap object at fault address: ";
52 heap->DumpObject(LOG(INTERNAL_FATAL), reinterpret_cast<mirror::Object*>(info->si_addr));
H A Druntime_linux.cc312 gc::Heap* heap = runtime->GetHeap(); local
314 if (kDumpHeapObjectOnSigsevg && heap != nullptr && info != nullptr) {
315 LOG(INTERNAL_FATAL) << "Dump heap object at fault address: ";
316 heap->DumpObject(LOG(INTERNAL_FATAL), reinterpret_cast<mirror::Object*>(info->si_addr));
H A Dclass_linker-inl.h22 #include "gc/heap-inl.h"
188 gc::Heap* const heap = Runtime::Current()->GetHeap(); member in class:art::gc
194 kMoveFieldArrays ? heap->GetCurrentAllocator() : heap->GetCurrentNonMovingAllocator());
/art/compiler/
H A Dimage_test.cc119 gc::Heap* heap = Runtime::Current()->GetHeap(); local
120 ASSERT_TRUE(!heap->GetContinuousSpaces().empty());
121 gc::space::ContinuousSpace* space = heap->GetNonMovingSpace();
165 gc::Heap* heap = Runtime::Current()->GetHeap(); local
166 ASSERT_TRUE(heap->HasImageSpace());
167 ASSERT_TRUE(heap->GetNonMovingSpace()->IsMallocSpace());
169 gc::space::ImageSpace* image_space = heap->GetImageSpace();
/art/patchoat/
H A Dpatchoat.h27 #include "gc/heap.h"
65 MemMap* heap, off_t delta, TimingLogger* timings)
66 : image_(image), bitmap_(bitmap), heap_(heap),
69 gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta,
71 : oat_file_(oat_file), image_(image), bitmap_(bitmap), heap_(heap),
126 // change the heap.
145 // The heap we are patching. This is not modified.
147 // The heap we are patching. This is not modified.
64 PatchOat(InstructionSet isa, MemMap* image, gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta, TimingLogger* timings) argument
68 PatchOat(InstructionSet isa, ElfFile* oat_file, MemMap* image, gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta, TimingLogger* timings) argument
/art/runtime/entrypoints/
H A Dentrypoint_utils.cc90 gc::Heap* heap = Runtime::Current()->GetHeap(); local
92 // the heap switched the allocator type while we were suspended.
94 heap->GetCurrentAllocator());
109 gc::Heap* heap = Runtime::Current()->GetHeap(); local
111 // the heap switched the allocator type while we were suspended.
113 heap->GetCurrentAllocator());
H A Dentrypoint_utils-inl.h153 gc::Heap* heap = Runtime::Current()->GetHeap(); local
155 return klass->Alloc<kInstrumented, false>(self, heap->GetCurrentAllocator());
224 gc::Heap* heap = Runtime::Current()->GetHeap(); local
227 heap->GetCurrentAllocator());
/art/runtime/mirror/
H A Darray-inl.h23 #include "gc/heap-inl.h"
141 gc::Heap* heap = Runtime::Current()->GetHeap(); local
146 heap->AllocObjectWithAllocator<kIsInstrumented, true>(self, array_class, size,
152 heap->AllocObjectWithAllocator<kIsInstrumented, true>(self, array_class, size,
H A Dobject.cc29 #include "gc/heap.h"
85 gc::Heap* heap = Runtime::Current()->GetHeap(); local
91 heap->WriteBarrierArray(dest, 0, array->GetLength());
94 heap->WriteBarrierEveryFieldOf(dest);
97 heap->AddFinalizerReference(self, &dest);
126 gc::Heap* heap = Runtime::Current()->GetHeap(); local
132 if (heap->IsMovableObject(this)) {
133 copy = heap->AllocObject<true>(self, GetClass(), num_bytes, visitor);
135 copy = heap->AllocNonMovableObject<true>(self, GetClass(), num_bytes, visitor);
H A Dobject_array-inl.h23 #include "gc/heap.h"
250 gc::Heap* heap = Runtime::Current()->GetHeap(); local
251 gc::AllocatorType allocator_type = heap->IsMovableObject(this) ? heap->GetCurrentAllocator() :
252 heap->GetCurrentNonMovingAllocator();
/art/runtime/base/
H A Dlogging.h306 bool heap; member in struct:art::LogVerbosity
/art/runtime/gc/space/
H A Ddlmalloc_space.cc21 #include "gc/heap.h"
81 if (VLOG_IS_ON(heap) || VLOG_IS_ON(startup)) {
105 if (VLOG_IS_ON(heap) || VLOG_IS_ON(startup)) {
116 // morecore_start. Don't use an internal dlmalloc lock (as we already hold heap lock). When
120 // Do not allow morecore requests to succeed beyond the initial size of the heap
163 CHECK(Contains(ptr)) << "Free (" << ptr << ") not in bounds of heap " << *this;
200 LOG(ERROR) << "FreeList[" << i << "] (" << ptrs[i] << ") not in bounds of heap " << *this;
218 Heap* heap = Runtime::Current()->GetHeap(); local
219 DlMallocSpace* dlmalloc_space = heap->GetDlMallocSpace();
223 for (space::ContinuousSpace* space : heap
[all...]
H A Drosalloc_space.cc22 #include "gc/heap.h"
92 if (VLOG_IS_ON(heap) || VLOG_IS_ON(startup)) {
118 if (VLOG_IS_ON(heap) || VLOG_IS_ON(startup)) {
177 CHECK(Contains(ptr)) << "Free (" << ptr << ") not in bounds of heap " << *this;
211 LOG(ERROR) << "FreeList[" << i << "] (" << ptrs[i] << ") not in bounds of heap " << *this;
229 Heap* heap = Runtime::Current()->GetHeap(); local
230 RosAllocSpace* rosalloc_space = heap->GetRosAllocSpace(rosalloc);
237 VLOG(heap) << "RosAllocSpace::Trim() ";
267 VLOG(heap) << "RosAllocSpace::SetFootprintLimit " << PrettySize(new_size);
268 // Compare against the actual footprint, rather than the Size(), because the heap ma
[all...]
H A Dspace_test.h42 Heap* heap = Runtime::Current()->GetHeap(); local
44 heap->RevokeAllThreadLocalBuffers();
46 heap->AddSpace(space);
47 heap->SetSpaceAsDefault(space);
94 // Like the proper heap object allocation, install and verify
176 // Make space findable to the heap, will also delete space when runtime is cleaned up
235 gc::Heap* heap = Runtime::Current()->GetHeap(); local
237 heap->RemoveSpace(old_space);
238 heap->RevokeAllThreadLocalBuffers();
240 heap
[all...]

Completed in 2864 milliseconds

12