Lines Matching refs:RosAllocSpace
42 // template class ValgrindMallocSpace<RosAllocSpace, allocator::RosAlloc*>;
44 RosAllocSpace::RosAllocSpace(const std::string& name, MemMap* mem_map,
54 RosAllocSpace* RosAllocSpace::CreateFromMemMap(MemMap* mem_map, const std::string& name,
74 // TODO: Fix RosAllocSpace to support valgrind. There is currently some issues with
79 return new RosAllocSpace(name, mem_map, rosalloc, begin, end, begin + capacity, growth_limit,
84 RosAllocSpace::~RosAllocSpace() {
88 RosAllocSpace* RosAllocSpace::Create(const std::string& name, size_t initial_size,
94 VLOG(startup) << "RosAllocSpace::Create entering " << name
114 RosAllocSpace* space = CreateFromMemMap(mem_map, name, starting_size, initial_size,
119 LOG(INFO) << "RosAllocSpace::Create exiting (" << PrettyDuration(NanoTime() - start_time)
125 allocator::RosAlloc* RosAllocSpace::CreateRosAlloc(void* begin, size_t morecore_start,
146 mirror::Object* RosAllocSpace::AllocWithGrowth(Thread* self, size_t num_bytes,
166 MallocSpace* RosAllocSpace::CreateInstance(const std::string& name, MemMap* mem_map, void* allocator,
169 return new RosAllocSpace(name, mem_map, reinterpret_cast<allocator::RosAlloc*>(allocator),
174 size_t RosAllocSpace::Free(Thread* self, mirror::Object* ptr) {
186 size_t RosAllocSpace::FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) {
230 RosAllocSpace* rosalloc_space = heap->GetRosAllocSpace(rosalloc);
236 size_t RosAllocSpace::Trim() {
237 VLOG(heap) << "RosAllocSpace::Trim() ";
250 void RosAllocSpace::Walk(void(*callback)(void *start, void *end, size_t num_bytes, void* callback_arg),
255 size_t RosAllocSpace::GetFootprint() {
260 size_t RosAllocSpace::GetFootprintLimit() {
265 void RosAllocSpace::SetFootprintLimit(size_t new_size) {
267 VLOG(heap) << "RosAllocSpace::SetFootprintLimit " << PrettySize(new_size);
278 uint64_t RosAllocSpace::GetBytesAllocated() {
284 uint64_t RosAllocSpace::GetObjectsAllocated() {
290 void RosAllocSpace::InspectAllRosAllocWithSuspendAll(
308 void RosAllocSpace::InspectAllRosAlloc(void (*callback)(void *start, void *end, size_t num_bytes, void* callback_arg),
333 void RosAllocSpace::RevokeThreadLocalBuffers(Thread* thread) {
337 void RosAllocSpace::RevokeAllThreadLocalBuffers() {
341 void RosAllocSpace::AssertAllThreadLocalBuffersAreRevoked() {
347 void RosAllocSpace::Clear() {