Lines Matching refs:RosAlloc
47 size_t RosAlloc::bracketSizes[kNumOfSizeBrackets];
48 size_t RosAlloc::numOfPages[kNumOfSizeBrackets];
49 size_t RosAlloc::numOfSlots[kNumOfSizeBrackets];
50 size_t RosAlloc::headerSizes[kNumOfSizeBrackets];
51 bool RosAlloc::initialized_ = false;
52 size_t RosAlloc::dedicated_full_run_storage_[kPageSize / sizeof(size_t)] = { 0 };
53 RosAlloc::Run* RosAlloc::dedicated_full_run_ =
54 reinterpret_cast<RosAlloc::Run*>(dedicated_full_run_storage_);
56 RosAlloc::RosAlloc(void* base, size_t capacity, size_t max_capacity, in RosAlloc() function in art::gc::allocator::RosAlloc
121 RosAlloc::~RosAlloc() { in ~RosAlloc()
130 void* RosAlloc::AllocPages(Thread* self, size_t num_pages, uint8_t page_map_type) { in AllocPages()
310 size_t RosAlloc::FreePages(Thread* self, void* ptr, bool already_zero) { in FreePages()
462 void* RosAlloc::AllocLargeObject(Thread* self, size_t size, size_t* bytes_allocated, in AllocLargeObject()
499 size_t RosAlloc::FreeInternal(Thread* self, void* ptr) { in FreeInternal()
543 size_t RosAlloc::Free(Thread* self, void* ptr) { in Free()
548 RosAlloc::Run* RosAlloc::AllocRun(Thread* self, size_t idx) { in AllocRun()
549 RosAlloc::Run* new_run = nullptr; in AllocRun()
582 RosAlloc::Run* RosAlloc::RefillRun(Thread* self, size_t idx) { in RefillRun()
598 inline void* RosAlloc::AllocFromCurrentRunUnlocked(Thread* self, size_t idx) { in AllocFromCurrentRunUnlocked()
634 void* RosAlloc::AllocFromRunThreadUnsafe(Thread* self, size_t size, size_t* bytes_allocated, in AllocFromRunThreadUnsafe()
654 void* RosAlloc::AllocFromRun(Thread* self, size_t size, size_t* bytes_allocated, in AllocFromRun()
759 size_t RosAlloc::FreeFromRun(Thread* self, void* ptr, Run* run) { in FreeFromRun()
840 std::string RosAlloc::Run::FreeListToStr(SlotFreeList<kUseTail>* free_list) { in FreeListToStr()
859 std::string RosAlloc::Run::Dump() { in Dump()
874 void RosAlloc::Run::FreeSlot(void* ptr) { in FreeSlot()
889 inline bool RosAlloc::Run::MergeThreadLocalFreeListToFreeList(bool* is_all_free_after_out) { in MergeThreadLocalFreeListToFreeList()
904 inline void RosAlloc::Run::MergeBulkFreeListToFreeList() { in MergeBulkFreeListToFreeList()
910 inline void RosAlloc::Run::MergeBulkFreeListToThreadLocalFreeList() { in MergeBulkFreeListToThreadLocalFreeList()
916 inline void RosAlloc::Run::AddToThreadLocalFreeList(void* ptr) { in AddToThreadLocalFreeList()
921 inline size_t RosAlloc::Run::AddToBulkFreeList(void* ptr) { in AddToBulkFreeList()
925 inline size_t RosAlloc::Run::AddToFreeListShared(void* ptr, in AddToFreeListShared()
940 inline void RosAlloc::Run::ZeroHeaderAndSlotHeaders() { in ZeroHeaderAndSlotHeaders()
961 inline void RosAlloc::Run::ZeroData() { in ZeroData()
967 void RosAlloc::Run::InspectAllSlots(void (*handler)(void* start, void* end, size_t used_bytes, void… in InspectAllSlots()
1006 size_t RosAlloc::BulkFree(Thread* self, void** ptrs, size_t num_ptrs) { in BulkFree()
1208 std::string RosAlloc::DumpPageMap() { in DumpPageMap()
1299 size_t RosAlloc::UsableSize(const void* ptr) { in UsableSize()
1348 bool RosAlloc::Trim() { in Trim()
1397 void RosAlloc::InspectAll(void (*handler)(void* start, void* end, size_t used_bytes, void* callback… in InspectAll()
1486 size_t RosAlloc::Footprint() { in Footprint()
1491 size_t RosAlloc::FootprintLimit() { in FootprintLimit()
1496 void RosAlloc::SetFootprintLimit(size_t new_capacity) { in SetFootprintLimit()
1508 size_t RosAlloc::RevokeThreadLocalRuns(Thread* thread) { in RevokeThreadLocalRuns()
1543 void RosAlloc::RevokeRun(Thread* self, size_t idx, Run* run) { in RevokeRun()
1571 void RosAlloc::RevokeThreadUnsafeCurrentRuns() { in RevokeThreadUnsafeCurrentRuns()
1583 size_t RosAlloc::RevokeAllThreadLocalRuns() { in RevokeAllThreadLocalRuns()
1597 void RosAlloc::AssertThreadLocalRunsAreRevoked(Thread* thread) { in AssertThreadLocalRunsAreRevoked()
1610 void RosAlloc::AssertAllThreadLocalRunsAreRevoked() { in AssertAllThreadLocalRunsAreRevoked()
1626 void RosAlloc::Initialize() { in Initialize()
1723 void RosAlloc::BytesAllocatedCallback(void* start ATTRIBUTE_UNUSED, void* end ATTRIBUTE_UNUSED, in BytesAllocatedCallback()
1732 void RosAlloc::ObjectsAllocatedCallback(void* start ATTRIBUTE_UNUSED, void* end ATTRIBUTE_UNUSED, in ObjectsAllocatedCallback()
1741 void RosAlloc::Verify() { in Verify()
1870 void RosAlloc::Run::Verify(Thread* self, RosAlloc* rosalloc, bool running_on_memory_tool) { in Verify()
1982 size_t RosAlloc::ReleasePages() { in ReleasePages()
2038 size_t RosAlloc::ReleasePageRange(uint8_t* start, uint8_t* end) { in ReleasePageRange()
2072 void RosAlloc::LogFragmentationAllocFailure(std::ostream& os, size_t failed_alloc_bytes) { in LogFragmentationAllocFailure()
2104 void RosAlloc::DumpStats(std::ostream& os) { in DumpStats()