/aosp12/system/memory/libmemunreachable/ |
H A D | Allocator.h | 42 class Heap { 44 Heap(); 45 ~Heap(); 48 Heap(const Heap& other) : impl_(other.impl_), owns_impl_(false) {} in Heap() function 51 Heap& operator=(const Heap&) = delete; 108 STLAllocator(const Heap& heap) in STLAllocator() 138 Heap heap_; 149 Allocator(const Heap& other) in Allocator() 168 using shared_ptr = Heap::shared_ptr<T>; 175 using unique_ptr = Heap::unique_ptr<T>; [all …]
|
H A D | Allocator.cpp | 437 Heap::Heap() { in Heap() function in android::Heap 446 Heap::~Heap() { in ~Heap() 452 void* Heap::allocate(size_t size) { in allocate() 456 void Heap::deallocate(void* ptr) { in deallocate() 460 void Heap::deallocate(HeapImpl* impl, void* ptr) { in deallocate() 464 bool Heap::empty() { in empty()
|
/aosp12/art/runtime/gc/ |
H A D | heap.cc | 248 Heap::Heap(size_t initial_size, in Heap() function in art::gc::Heap 1331 Heap::~Heap() { in ~Heap() 1731 void Heap::VerifyHeap() { in VerifyHeap() 2280 void Heap::UnBindBitmaps() { in UnBindBitmaps() 2311 void Heap::PreZygoteFork() { in PreZygoteFork() 2500 void Heap::SwapSemiSpaces() { in SwapSemiSpaces() 2994 Heap* const heap_; 3026 Heap* const heap_; 3182 Heap* const heap_; 3203 Heap* const heap_; [all …]
|
H A D | heap-visit-objects-inl.h | 38 inline void Heap::VisitObjects(Visitor&& visitor) { in VisitObjects() 72 inline void Heap::VisitObjectsPaused(Visitor&& visitor) { in VisitObjectsPaused() 81 inline void Heap::VisitObjectsInternalRegionSpace(Visitor&& visitor) { in VisitObjectsInternalRegionSpace() 106 inline void Heap::VisitObjectsInternal(Visitor&& visitor) { in VisitObjectsInternal() 146 DCHECK(Heap::rosalloc_space_ == nullptr) in VisitObjectsInternal()
|
H A D | verification.h | 36 class Heap; variable 40 explicit Verification(gc::Heap* heap) : heap_(heap) {} in Verification() 73 gc::Heap* const heap_;
|
H A D | heap-inl.h | 45 inline mirror::Object* Heap::AllocObjectWithAllocator(Thread* self, in AllocObjectWithAllocator() 272 inline void Heap::PushOnAllocationStack(Thread* self, ObjPtr<mirror::Object>* obj) { in PushOnAllocationStack() 283 inline mirror::Object* Heap::AllocLargeObject(Thread* self, in AllocLargeObject() 298 inline mirror::Object* Heap::TryToAllocate(Thread* self, in TryToAllocate() 434 inline bool Heap::ShouldAllocLargeObject(ObjPtr<mirror::Class> c, size_t byte_count) const { in ShouldAllocLargeObject() 442 inline bool Heap::IsOutOfMemoryOnAllocation(AllocatorType allocator_type, in IsOutOfMemoryOnAllocation() 473 inline bool Heap::ShouldConcurrentGCForJava(size_t new_num_bytes_allocated) { in ShouldConcurrentGCForJava()
|
H A D | heap_test.cc | 38 gc::Heap::kPreferredAllocSpaceBegin, in SetUp() 54 Heap* heap = Runtime::Current()->GetHeap(); in TEST_F()
|
H A D | allocation_record.cc | 142 Heap* heap = Runtime::Current()->GetHeap(); in SetAllocTrackingEnabled() 214 Heap* const heap = Runtime::Current()->GetHeap(); in RecordAllocation()
|
/aosp12/art/runtime/gc/accounting/ |
H A D | mod_union_table.h | 44 class Heap; variable 59 explicit ModUnionTable(const std::string& name, Heap* heap, space::ContinuousSpace* space) in ModUnionTable() 104 Heap* GetHeap() const { in GetHeap() 114 Heap* const heap_; 121 explicit ModUnionTableReferenceCache(const std::string& name, Heap* heap, in ModUnionTableReferenceCache() 169 explicit ModUnionTableCardCache(const std::string& name, Heap* heap,
|
H A D | remembered_set.h | 39 class Heap; variable 50 explicit RememberedSet(const std::string& name, Heap* heap, space::ContinuousSpace* space) in RememberedSet() 67 Heap* GetHeap() const { in GetHeap() 77 Heap* const heap_;
|
H A D | heap_bitmap.h | 30 class Heap; variable 58 explicit HeapBitmap(Heap* heap) : heap_(heap) {} in HeapBitmap() 61 const Heap* const heap_; 78 friend class art::gc::Heap;
|
H A D | mod_union_table-inl.h | 32 Heap* heap, in ModUnionTableToZygoteAllocspace()
|
/aosp12/art/runtime/ |
H A D | runtime_options.def | 49 RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryMaximumSize, gc::Heap::kDefaultMaximum… 50 RUNTIME_OPTIONS_KEY (MemoryKiB, MemoryInitialSize, gc::Heap::kDefaultInitial… 52 RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMinFree, gc::Heap::kDefaultMinFree) 53 RUNTIME_OPTIONS_KEY (MemoryKiB, HeapMaxFree, gc::Heap::kDefaultMaxFree) 54 RUNTIME_OPTIONS_KEY (MemoryKiB, NonMovingSpaceCapacity, gc::Heap::kDefaultNonMovi… 56 RUNTIME_OPTIONS_KEY (double, HeapTargetUtilization, gc::Heap::kDefaultTargetU… 57 RUNTIME_OPTIONS_KEY (double, ForegroundHeapGrowthMultiplier, gc::Heap::kDefaultHeapGro… 64 … LongPauseLogThreshold, gc::Heap::kDefaultLongPauseLogThreshold) 66 … LongGCLogThreshold, gc::Heap::kDefaultLongGCLogThreshold) 110 … LargeObjectSpace, gc::Heap::kDefaultLargeObjectSpaceType) [all …]
|
H A D | aot_class_linker.h | 26 class Heap; variable 36 static bool CanReferenceInBootImageExtension(ObjPtr<mirror::Class> klass, gc::Heap* heap)
|
H A D | read_barrier-inl.h | 82 gc::Heap* heap = Runtime::Current()->GetHeap(); in Barrier() 213 gc::Heap* heap = Runtime::Current()->GetHeap(); in IsDuringStartup()
|
/aosp12/art/runtime/gc/collector/ |
H A D | garbage_collector.h | 45 class Heap; variable 63 GarbageCollector(Heap* heap, const std::string& name); 72 Heap* GetHeap() const { in GetHeap() 157 Heap* const heap_;
|
H A D | partial_mark_sweep.h | 33 PartialMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix = "");
|
H A D | partial_mark_sweep.cc | 28 PartialMarkSweep::PartialMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix) in PartialMarkSweep()
|
H A D | semi_space.h | 43 class Heap; variable 62 explicit SemiSpace(Heap* heap, const std::string& name_prefix = "");
|
H A D | sticky_mark_sweep.h | 33 StickyMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix = "");
|
H A D | sticky_mark_sweep.cc | 31 StickyMarkSweep::StickyMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix) in StickyMarkSweep()
|
/aosp12/art/runtime/gc/space/ |
H A D | space.h | 38 class Heap; variable 188 friend class art::gc::Heap; 472 friend class gc::Heap;
|
/aosp12/art/dex2oat/linker/ |
H A D | image_write_read_test.cc | 42 gc::Heap* heap = Runtime::Current()->GetHeap(); in TestWriteRead() 88 gc::Heap* heap = Runtime::Current()->GetHeap(); in TestWriteRead()
|
/aosp12/art/runtime/native/ |
H A D | dalvik_system_VMDebug.cc | 262 gc::Heap* const heap = Runtime::Current()->GetHeap(); in VMDebug_countInstancesOfClass() 280 gc::Heap* const heap = Runtime::Current()->GetHeap(); in VMDebug_countInstancesOfClasses() 322 gc::Heap* heap = Runtime::Current()->GetHeap(); in VMDebug_getRuntimeStatInternal() 391 gc::Heap* heap = Runtime::Current()->GetHeap(); in VMDebug_getRuntimeStatsInternal()
|
/aosp12/art/runtime/mirror/ |
H A D | class-alloc-inl.h | 52 gc::Heap* heap = Runtime::Current()->GetHeap(); in Alloc()
|