/art/runtime/gc/ |
H A D | heap-inl.h | 160 // the allocator_type should be constant propagated. 195 inline mirror::Object* Heap::TryToAllocate(Thread* self, AllocatorType allocator_type, argument 198 if (allocator_type != kAllocatorTypeTLAB && 199 UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, alloc_size))) { 203 switch (allocator_type) { 250 if (UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, new_tlab_size))) { 303 inline bool Heap::IsOutOfMemoryOnAllocation(AllocatorType allocator_type, size_t alloc_size) { argument 309 if (!AllocatorMayHaveConcurrentGC(allocator_type) || !IsGcConcurrent()) {
|
H A D | heap.h | 24 #include "allocator_type.h" 621 static ALWAYS_INLINE bool AllocatorHasAllocationStack(AllocatorType allocator_type) { argument 623 allocator_type != kAllocatorTypeBumpPointer && 624 allocator_type != kAllocatorTypeTLAB; 626 static ALWAYS_INLINE bool AllocatorMayHaveConcurrentGC(AllocatorType allocator_type) { argument 627 return AllocatorHasAllocationStack(allocator_type); 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);
|
H A D | heap.cc | 934 void Heap::ThrowOutOfMemoryError(Thread* self, size_t byte_count, AllocatorType allocator_type) { argument 942 if (allocator_type == kAllocatorTypeNonMoving) { 944 } else if (allocator_type == kAllocatorTypeRosAlloc || 945 allocator_type == kAllocatorTypeDlMalloc) { 947 } else if (allocator_type == kAllocatorTypeBumpPointer || 948 allocator_type == kAllocatorTypeTLAB) {
|
/art/runtime/mirror/ |
H A D | array-inl.h | 134 size_t component_size, gc::AllocatorType allocator_type, 136 DCHECK(allocator_type != gc::kAllocatorTypeLOS); 147 allocator_type, visitor)); 153 allocator_type, visitor)); 133 Alloc(Thread* self, Class* array_class, int32_t component_count, size_t component_size, gc::AllocatorType allocator_type, bool fill_usable) argument
|
H A D | object_array-inl.h | 36 int32_t length, gc::AllocatorType allocator_type) { 38 sizeof(HeapReference<Object>), allocator_type); 251 gc::AllocatorType allocator_type = heap->IsMovableObject(this) ? heap->GetCurrentAllocator() : local 253 ObjectArray<T>* new_array = Alloc(self, GetClass(), new_length, allocator_type); 35 Alloc(Thread* self, Class* object_array_class, int32_t length, gc::AllocatorType allocator_type) argument
|
H A D | class-inl.h | 554 inline Object* Class::Alloc(Thread* self, gc::AllocatorType allocator_type) { argument 563 allocator_type, VoidFunctor());
|
/art/runtime/ |
H A D | safe_map.h | 39 typedef typename ::std::map<K, V, Comparator, Allocator>::allocator_type allocator_type; typedef in class:art::SafeMap 47 explicit SafeMap(const key_compare& cmp, const allocator_type& allocator = allocator_type()) argument 56 allocator_type get_allocator() const { return map_.get_allocator(); }
|
/art/runtime/entrypoints/ |
H A D | entrypoint_utils-inl.h | 126 gc::AllocatorType allocator_type) { 136 return klass->Alloc<kInstrumented>(self, allocator_type); 145 gc::AllocatorType allocator_type) { 158 return klass->Alloc<kInstrumented, false>(self, allocator_type); 167 gc::AllocatorType allocator_type) { 170 return klass->Alloc<kInstrumented, false>(self, allocator_type); 216 gc::AllocatorType allocator_type) { 230 klass->GetComponentSize(), allocator_type); 238 gc::AllocatorType allocator_type) { 254 klass->GetComponentSize(), allocator_type); 123 AllocObjectFromCode(uint32_t type_idx, mirror::ArtMethod* method, Thread* self, gc::AllocatorType allocator_type) argument 142 AllocObjectFromCodeResolved(mirror::Class* klass, mirror::ArtMethod* method, Thread* self, gc::AllocatorType allocator_type) argument 164 AllocObjectFromCodeInitialized(mirror::Class* klass, mirror::ArtMethod* method, Thread* self, gc::AllocatorType allocator_type) argument 212 AllocArrayFromCode(uint32_t type_idx, mirror::ArtMethod* method, int32_t component_count, Thread* self, gc::AllocatorType allocator_type) argument 234 AllocArrayFromCodeResolved(mirror::Class* klass, mirror::ArtMethod* method, int32_t component_count, Thread* self, gc::AllocatorType allocator_type) argument [all...] |