Home
last modified time | relevance | path

Searched refs:Heap (Results 1 – 25 of 97) sorted by relevance

1234

/aosp12/system/memory/libmemunreachable/
H A DAllocator.h42 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 DAllocator.cpp437 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 Dheap.cc248 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 Dheap-visit-objects-inl.h38 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 Dverification.h36 class Heap; variable
40 explicit Verification(gc::Heap* heap) : heap_(heap) {} in Verification()
73 gc::Heap* const heap_;
H A Dheap-inl.h45 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 Dheap_test.cc38 gc::Heap::kPreferredAllocSpaceBegin, in SetUp()
54 Heap* heap = Runtime::Current()->GetHeap(); in TEST_F()
H A Dallocation_record.cc142 Heap* heap = Runtime::Current()->GetHeap(); in SetAllocTrackingEnabled()
214 Heap* const heap = Runtime::Current()->GetHeap(); in RecordAllocation()
/aosp12/art/runtime/gc/accounting/
H A Dmod_union_table.h44 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 Dremembered_set.h39 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 Dheap_bitmap.h30 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 Dmod_union_table-inl.h32 Heap* heap, in ModUnionTableToZygoteAllocspace()
/aosp12/art/runtime/
H A Druntime_options.def49 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 Daot_class_linker.h26 class Heap; variable
36 static bool CanReferenceInBootImageExtension(ObjPtr<mirror::Class> klass, gc::Heap* heap)
H A Dread_barrier-inl.h82 gc::Heap* heap = Runtime::Current()->GetHeap(); in Barrier()
213 gc::Heap* heap = Runtime::Current()->GetHeap(); in IsDuringStartup()
/aosp12/art/runtime/gc/collector/
H A Dgarbage_collector.h45 class Heap; variable
63 GarbageCollector(Heap* heap, const std::string& name);
72 Heap* GetHeap() const { in GetHeap()
157 Heap* const heap_;
H A Dpartial_mark_sweep.h33 PartialMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix = "");
H A Dpartial_mark_sweep.cc28 PartialMarkSweep::PartialMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix) in PartialMarkSweep()
H A Dsemi_space.h43 class Heap; variable
62 explicit SemiSpace(Heap* heap, const std::string& name_prefix = "");
H A Dsticky_mark_sweep.h33 StickyMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix = "");
H A Dsticky_mark_sweep.cc31 StickyMarkSweep::StickyMarkSweep(Heap* heap, bool is_concurrent, const std::string& name_prefix) in StickyMarkSweep()
/aosp12/art/runtime/gc/space/
H A Dspace.h38 class Heap; variable
188 friend class art::gc::Heap;
472 friend class gc::Heap;
/aosp12/art/dex2oat/linker/
H A Dimage_write_read_test.cc42 gc::Heap* heap = Runtime::Current()->GetHeap(); in TestWriteRead()
88 gc::Heap* heap = Runtime::Current()->GetHeap(); in TestWriteRead()
/aosp12/art/runtime/native/
H A Ddalvik_system_VMDebug.cc262 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 Dclass-alloc-inl.h52 gc::Heap* heap = Runtime::Current()->GetHeap(); in Alloc()

1234