Searched refs:RosAlloc (Results 1 - 12 of 12) sorted by relevance

/art/runtime/gc/allocator/
H A Drosalloc-inl.h27 inline ALWAYS_INLINE void* RosAlloc::Alloc(Thread* self, size_t size, size_t* bytes_allocated) {
H A Drosalloc.h41 class RosAlloc { class in namespace:art::gc::allocator
51 size_t ByteSize(RosAlloc* rosalloc) const EXCLUSIVE_LOCKS_REQUIRED(rosalloc->lock_) {
59 void SetByteSize(RosAlloc* rosalloc, size_t byte_size)
69 void* End(RosAlloc* rosalloc) EXCLUSIVE_LOCKS_REQUIRED(rosalloc->lock_) {
74 bool IsLargerThanPageReleaseThreshold(RosAlloc* rosalloc)
78 bool IsAtEndOfSpace(RosAlloc* rosalloc)
82 bool ShouldReleasePages(RosAlloc* rosalloc) EXCLUSIVE_LOCKS_REQUIRED(rosalloc->lock_) {
99 void ReleasePages(RosAlloc* rosalloc) EXCLUSIVE_LOCKS_REQUIRED(rosalloc->lock_) {
248 void Verify(Thread* self, RosAlloc* rosalloc)
379 size_t operator()(const RosAlloc
[all...]
H A Drosalloc.cc33 extern "C" void* art_heap_rosalloc_morecore(RosAlloc* rosalloc, intptr_t increment);
39 size_t RosAlloc::bracketSizes[kNumOfSizeBrackets];
40 size_t RosAlloc::numOfPages[kNumOfSizeBrackets];
41 size_t RosAlloc::numOfSlots[kNumOfSizeBrackets];
42 size_t RosAlloc::headerSizes[kNumOfSizeBrackets];
43 size_t RosAlloc::bulkFreeBitMapOffsets[kNumOfSizeBrackets];
44 size_t RosAlloc::threadLocalFreeBitMapOffsets[kNumOfSizeBrackets];
45 bool RosAlloc::initialized_ = false;
46 size_t RosAlloc::dedicated_full_run_storage_[kPageSize / sizeof(size_t)] = { 0 };
47 RosAlloc
50 RosAlloc::RosAlloc(void* base, size_t capacity, size_t max_capacity, function in class:art::gc::allocator::RosAlloc
[all...]
/art/runtime/gc/space/
H A Drosalloc_space.cc42 // template class ValgrindMallocSpace<RosAllocSpace, allocator::RosAlloc*>;
45 art::gc::allocator::RosAlloc* rosalloc, byte* begin, byte* end,
59 allocator::RosAlloc* rosalloc = CreateRosAlloc(mem_map->Begin(), starting_size, initial_size,
125 allocator::RosAlloc* RosAllocSpace::CreateRosAlloc(void* begin, size_t morecore_start,
133 allocator::RosAlloc* rosalloc = new art::gc::allocator::RosAlloc(
136 art::gc::allocator::RosAlloc::kPageReleaseModeAll :
137 art::gc::allocator::RosAlloc::kPageReleaseModeSizeAndEnd);
141 PLOG(ERROR) << "RosAlloc::Create failed";
160 // Note RosAlloc zeroe
[all...]
H A Drosalloc_space.h70 // RosAlloc zeroes memory internally.
75 // RosAlloc zeroes memory internally. Pass in false for thread unsafe.
83 allocator::RosAlloc* GetRosAlloc() const {
128 RosAllocSpace(const std::string& name, MemMap* mem_map, allocator::RosAlloc* rosalloc,
141 static allocator::RosAlloc* CreateRosAlloc(void* base, size_t morecore_start, size_t initial_size,
153 allocator::RosAlloc* rosalloc_;
/art/runtime/arch/
H A Dquick_alloc_entrypoints.S43 GENERATE_ALLOC_ENTRYPOINTS _rosalloc, RosAlloc
/art/runtime/arch/x86/
H A Dquick_entrypoints_x86.S465 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT(_rosalloc, RosAlloc)
466 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT_RESOLVED(_rosalloc, RosAlloc)
467 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT_INITIALIZED(_rosalloc, RosAlloc)
468 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT_WITH_ACCESS_CHECK(_rosalloc, RosAlloc)
469 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY(_rosalloc, RosAlloc)
470 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY_RESOLVED(_rosalloc, RosAlloc)
471 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY_WITH_ACCESS_CHECK(_rosalloc, RosAlloc)
472 GENERATE_ALLOC_ENTRYPOINTS_CHECK_AND_ALLOC_ARRAY(_rosalloc, RosAlloc)
473 GENERATE_ALLOC_ENTRYPOINTS_CHECK_AND_ALLOC_ARRAY_WITH_ACCESS_CHECK(_rosalloc, RosAlloc)
/art/runtime/arch/x86_64/
H A Dquick_entrypoints_x86_64.S796 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT(_rosalloc, RosAlloc)
797 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT_RESOLVED(_rosalloc, RosAlloc)
798 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT_INITIALIZED(_rosalloc, RosAlloc)
799 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_OBJECT_WITH_ACCESS_CHECK(_rosalloc, RosAlloc)
800 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY(_rosalloc, RosAlloc)
801 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY_RESOLVED(_rosalloc, RosAlloc)
802 GENERATE_ALLOC_ENTRYPOINTS_ALLOC_ARRAY_WITH_ACCESS_CHECK(_rosalloc, RosAlloc)
803 GENERATE_ALLOC_ENTRYPOINTS_CHECK_AND_ALLOC_ARRAY(_rosalloc, RosAlloc)
804 GENERATE_ALLOC_ENTRYPOINTS_CHECK_AND_ALLOC_ARRAY_WITH_ACCESS_CHECK(_rosalloc, RosAlloc)
/art/runtime/entrypoints/quick/
H A Dquick_alloc_entrypoints.cc109 GENERATE_ENTRYPOINTS_FOR_ALLOCATOR(RosAlloc, gc::kAllocatorTypeRosAlloc)
/art/runtime/gc/
H A Dheap.h76 class RosAlloc;
530 space::RosAllocSpace* GetRosAllocSpace(gc::allocator::RosAlloc* rosalloc) const;
733 // Create the main free list malloc space, either a RosAlloc space or DlMalloc space.
H A Dheap.cc1269 space::RosAllocSpace* Heap::GetRosAllocSpace(gc::allocator::RosAlloc* rosalloc) const {
1727 // builds since RosAlloc attempts to read the magic number from a protected page.
/art/runtime/
H A Dthread.cc1122 gc::allocator::RosAlloc::GetDedicatedFullRun());

Completed in 194 milliseconds