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

12

/art/runtime/gc/accounting/
H A Dmod_union_table-inl.h31 explicit ModUnionTableToZygoteAllocspace(const std::string& name, Heap* heap, argument
33 : ModUnionTableReferenceCache(name, heap, space) {}
H A Dheap_bitmap.h67 explicit HeapBitmap(Heap* heap) : heap_(heap) {} argument
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.h60 explicit ModUnionTable(const std::string& name, Heap* heap, space::ContinuousSpace* space) argument
62 heap_(heap),
111 explicit ModUnionTableReferenceCache(const std::string& name, Heap* heap, argument
113 : ModUnionTable(name, heap, space) {}
152 explicit ModUnionTableCardCache(const std::string& name, Heap* heap,
H A Dmod_union_table_test.cc107 const std::string& name, Heap* heap, space::ContinuousSpace* space,
109 : ModUnionTableReferenceCache(name, heap, space), target_space_(target_space) {}
167 gc::Heap* const heap = runtime->GetHeap(); member in class:art::gc::accounting::gc
169 auto* space = heap->GetNonMovingSpace();
175 heap->AddSpace(other_space.get());
242 heap->RemoveSpace(other_space.get());
106 ModUnionTableRefCacheToSpace( const std::string& name, Heap* heap, space::ContinuousSpace* space, space::ContinuousSpace* target_space) argument
H A Dmod_union_table.cc28 #include "gc/heap.h"
223 Heap* heap = mod_union_table_->GetHeap(); local
224 space::ContinuousSpace* from_space = heap->FindContinuousSpaceFromObject(obj, false);
225 space::ContinuousSpace* to_space = heap->FindContinuousSpaceFromObject(ref, false);
233 heap->DumpSpaces(LOG(INFO));
345 if (VLOG_IS_ON(heap)) {
350 ModUnionTableCardCache::ModUnionTableCardCache(const std::string& name, Heap* heap, argument
352 : ModUnionTable(name, heap, space) {
/art/runtime/gc/collector/
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.cc41 : duration_ns_(0), timings_("GC iteration timing logger", true, VLOG_IS_ON(heap)) {
61 GarbageCollector::GarbageCollector(Heap* heap, const std::string& name) argument
62 : heap_(heap),
/art/runtime/gc/
H A Dheap_test.cc33 Heap* heap = Runtime::Current()->GetHeap(); local
34 int64_t max_memory_before = heap->GetMaxMemory();
35 int64_t total_memory_before = heap->GetTotalMemory();
36 heap->ClearGrowthLimit();
37 int64_t max_memory_after = heap->GetMaxMemory();
38 int64_t total_memory_after = heap->GetTotalMemory();
H A Dreference_queue.cc21 #include "heap.h"
89 Heap* heap = Runtime::Current()->GetHeap(); local
90 if (kUseBakerOrBrooksReadBarrier && heap->CurrentCollectorType() == kCollectorTypeCC &&
91 heap->ConcurrentCopyingCollector()->IsActive()) {
97 if (heap->ConcurrentCopyingCollector()->RegionSpace()->IsInToSpace(ref)) {
H A Dheap-inl.h20 #include "heap.h"
381 inline Heap::AllocationTimer::AllocationTimer(Heap* heap, mirror::Object** allocated_obj_ptr) argument
382 : heap_(heap), allocated_obj_ptr_(allocated_obj_ptr),
416 VLOG(heap) << "Growing heap from " << PrettySize(max_allowed_footprint_) << " to "
/art/runtime/
H A Druntime_android.cc48 gc::Heap* heap = runtime->GetHeap(); local
49 if (kDumpHeapObjectOnSigsevg && heap != nullptr && info != nullptr) {
50 LOG(INTERNAL_FATAL) << "Dump heap object at fault address: ";
51 heap->DumpObject(LOG(INTERNAL_FATAL), reinterpret_cast<mirror::Object*>(info->si_addr));
H A Dread_barrier-inl.h23 #include "gc/heap.h"
60 // The heap or the collector can be null at startup. TODO: avoid the need for this null check.
61 gc::Heap* heap = Runtime::Current()->GetHeap(); local
62 if (heap != nullptr && heap->GetReadBarrierTable()->IsSet(old_ref)) {
82 // During startup, the heap may not be initialized yet. Just
97 // During startup, the heap may not be initialized yet. Just
122 // During startup, the heap may not be initialized yet. Just
137 // During startup, the heap may not be initialized yet. Just
158 gc::Heap* heap local
[all...]
H A Druntime_linux.cc349 gc::Heap* heap = runtime->GetHeap(); local
351 if (kDumpHeapObjectOnSigsevg && heap != nullptr && info != nullptr) {
352 LOG(INTERNAL_FATAL) << "Dump heap object at fault address: ";
353 heap->DumpObject(LOG(INTERNAL_FATAL), reinterpret_cast<mirror::Object*>(info->si_addr));
/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();
167 gc::Heap* heap = Runtime::Current()->GetHeap(); local
168 ASSERT_TRUE(heap->HasImageSpace());
169 ASSERT_TRUE(heap->GetNonMovingSpace()->IsMallocSpace());
171 gc::space::ImageSpace* image_space = heap->GetImageSpace();
/art/runtime/mirror/
H A Darray.cc134 auto* heap = Runtime::Current()->GetHeap(); local
135 gc::AllocatorType allocator_type = heap->IsMovableObject(this) ? heap->GetCurrentAllocator() :
136 heap->GetCurrentNonMovingAllocator();
H A Darray-inl.h27 #include "gc/heap-inl.h"
173 gc::Heap* heap = Runtime::Current()->GetHeap(); local
178 heap->AllocObjectWithAllocator<kIsInstrumented, true>(self, array_class, size,
185 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);
125 gc::Heap* heap = Runtime::Current()->GetHeap(); local
131 if (heap->IsMovableObject(this)) {
132 copy = heap->AllocObject<true>(self, GetClass(), num_bytes, visitor);
134 copy = heap->AllocNonMovableObject<true>(self, GetClass(), num_bytes, visitor);
H A Dobject_array-inl.h26 #include "gc/heap.h"
254 gc::Heap* heap = Runtime::Current()->GetHeap(); local
255 gc::AllocatorType allocator_type = heap->IsMovableObject(this) ? heap->GetCurrentAllocator() :
256 heap->GetCurrentNonMovingAllocator();
H A Dstring-inl.h22 #include "gc/heap-inl.h"
163 gc::Heap* heap = Runtime::Current()->GetHeap(); local
165 heap->AllocObjectWithAllocator<kIsInstrumented, true>(self, string_class, size,
/art/patchoat/
H A Dpatchoat.h26 #include "gc/heap.h"
66 MemMap* heap, off_t delta, TimingLogger* timings)
67 : image_(image), bitmap_(bitmap), heap_(heap),
70 gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta,
72 : oat_file_(oat_file), image_(image), bitmap_(bitmap), heap_(heap),
174 // change the heap.
193 // The bitmap over the image within the heap we are patching. This is not modified.
195 // The heap we are patching. This is not modified.
65 PatchOat(InstructionSet isa, MemMap* image, gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta, TimingLogger* timings) argument
69 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.cc88 gc::Heap* heap = Runtime::Current()->GetHeap(); local
90 // the heap switched the allocator type while we were suspended.
93 heap->GetCurrentAllocator());
108 gc::Heap* heap = Runtime::Current()->GetHeap(); local
110 // the heap switched the allocator type while we were suspended.
113 heap->GetCurrentAllocator());
H A Dentrypoint_utils-inl.h172 gc::Heap* heap = Runtime::Current()->GetHeap(); local
174 return klass->Alloc<kInstrumented, false>(self, heap->GetCurrentAllocator());
242 gc::Heap* heap = Runtime::Current()->GetHeap(); local
245 heap->GetCurrentAllocator());
/art/runtime/base/
H A Dlogging.h43 bool heap; member in struct:art::LogVerbosity

Completed in 2120 milliseconds

12