/art/runtime/entrypoints/quick/ |
D | quick_alloc_entrypoints.cc | 28 #define GENERATE_ENTRYPOINTS_FOR_ALLOCATOR_INST(suffix, suffix2, instrumented_bool, allocator_type)… argument 34 return AllocObjectFromCode<false, instrumented_bool>(type_idx, method, self, allocator_type); \ 41 return AllocObjectFromCodeResolved<instrumented_bool>(klass, method, self, allocator_type); \ 48 return AllocObjectFromCodeInitialized<instrumented_bool>(klass, method, self, allocator_type); \ 55 return AllocObjectFromCode<true, instrumented_bool>(type_idx, method, self, allocator_type); \ 63 allocator_type); \ 71 allocator_type); \ 79 allocator_type); \ 87 …eturn CheckAndAllocArrayFromCode(type_idx, method, component_count, self, false, allocator_type); \ 89 …ndAllocArrayFromCodeInstrumented(type_idx, method, component_count, self, false, allocator_type); \ [all …]
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.h | 62 gc::AllocatorType allocator_type) 70 … gc::AllocatorType allocator_type) 78 … gc::AllocatorType allocator_type) 98 gc::AllocatorType allocator_type) 106 … gc::AllocatorType allocator_type) 112 gc::AllocatorType allocator_type) 119 gc::AllocatorType allocator_type)
|
D | entrypoint_utils-inl.h | 126 gc::AllocatorType allocator_type) { in AllocObjectFromCode() argument 136 return klass->Alloc<kInstrumented>(self, allocator_type); in AllocObjectFromCode() 145 gc::AllocatorType allocator_type) { in AllocObjectFromCodeResolved() argument 158 return klass->Alloc<kInstrumented, false>(self, allocator_type); in AllocObjectFromCodeResolved() 167 gc::AllocatorType allocator_type) { in AllocObjectFromCodeInitialized() argument 170 return klass->Alloc<kInstrumented, false>(self, allocator_type); in AllocObjectFromCodeInitialized() 216 gc::AllocatorType allocator_type) { in AllocArrayFromCode() argument 230 klass->GetComponentSize(), allocator_type); in AllocArrayFromCode() 238 gc::AllocatorType allocator_type) { in AllocArrayFromCodeResolved() argument 254 klass->GetComponentSize(), allocator_type); in AllocArrayFromCodeResolved()
|
/art/runtime/gc/ |
D | heap-inl.h | 183 inline mirror::Object* Heap::TryToAllocate(Thread* self, AllocatorType allocator_type, in TryToAllocate() argument 186 if (allocator_type != kAllocatorTypeTLAB && in TryToAllocate() 187 UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, alloc_size))) { in TryToAllocate() 191 switch (allocator_type) { in TryToAllocate() 238 if (UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, new_tlab_size))) { in TryToAllocate() 291 inline bool Heap::IsOutOfMemoryOnAllocation(AllocatorType allocator_type, size_t alloc_size) { in IsOutOfMemoryOnAllocation() argument 297 if (!AllocatorMayHaveConcurrentGC(allocator_type) || !IsGcConcurrent()) { in IsOutOfMemoryOnAllocation()
|
D | heap.h | 621 static ALWAYS_INLINE bool AllocatorHasAllocationStack(AllocatorType allocator_type) { in AllocatorHasAllocationStack() argument 623 allocator_type != kAllocatorTypeBumpPointer && in AllocatorHasAllocationStack() 624 allocator_type != kAllocatorTypeTLAB; in AllocatorHasAllocationStack() 626 static ALWAYS_INLINE bool AllocatorMayHaveConcurrentGC(AllocatorType allocator_type) { in AllocatorMayHaveConcurrentGC() argument 627 return AllocatorHasAllocationStack(allocator_type); in AllocatorMayHaveConcurrentGC() 670 ALWAYS_INLINE mirror::Object* TryToAllocate(Thread* self, AllocatorType allocator_type, 675 void ThrowOutOfMemoryError(Thread* self, size_t byte_count, AllocatorType allocator_type) 679 bool IsOutOfMemoryOnAllocation(AllocatorType allocator_type, size_t alloc_size);
|
D | heap.cc | 914 void Heap::ThrowOutOfMemoryError(Thread* self, size_t byte_count, AllocatorType allocator_type) { in ThrowOutOfMemoryError() argument 922 if (allocator_type == kAllocatorTypeNonMoving) { in ThrowOutOfMemoryError() 924 } else if (allocator_type == kAllocatorTypeRosAlloc || in ThrowOutOfMemoryError() 925 allocator_type == kAllocatorTypeDlMalloc) { in ThrowOutOfMemoryError() 927 } else if (allocator_type == kAllocatorTypeBumpPointer || in ThrowOutOfMemoryError() 928 allocator_type == kAllocatorTypeTLAB) { in ThrowOutOfMemoryError()
|
/art/runtime/ |
D | safe_map.h | 39 typedef typename ::std::map<K, V, Comparator, Allocator>::allocator_type allocator_type; typedef 47 explicit SafeMap(const key_compare& cmp, const allocator_type& allocator = allocator_type()) 56 allocator_type get_allocator() const { return map_.get_allocator(); } in get_allocator()
|
/art/runtime/mirror/ |
D | object_array-inl.h | 36 int32_t length, gc::AllocatorType allocator_type) { in Alloc() argument 38 sizeof(HeapReference<Object>), allocator_type); in Alloc() 251 gc::AllocatorType allocator_type = heap->IsMovableObject(this) ? heap->GetCurrentAllocator() : in CopyOf() local 253 ObjectArray<T>* new_array = Alloc(self, GetClass(), new_length, allocator_type); in CopyOf()
|
D | array-inl.h | 134 size_t component_size, gc::AllocatorType allocator_type, in Alloc() argument 136 DCHECK(allocator_type != gc::kAllocatorTypeLOS); in Alloc() 147 allocator_type, visitor)); in Alloc() 153 allocator_type, visitor)); in Alloc()
|
D | object_array.h | 34 gc::AllocatorType allocator_type)
|
D | array.h | 41 size_t component_size, gc::AllocatorType allocator_type,
|
D | class-inl.h | 533 inline Object* Class::Alloc(Thread* self, gc::AllocatorType allocator_type) { in Alloc() argument 542 allocator_type, VoidFunctor()); in Alloc()
|
D | class.h | 460 ALWAYS_INLINE Object* Alloc(Thread* self, gc::AllocatorType allocator_type)
|