Searched defs:allocator_type (Results 1 - 8 of 8) sorted by relevance

/art/runtime/gc/
H A Dheap-inl.h151 // the allocator_type should be constant propagated.
183 inline mirror::Object* Heap::TryToAllocate(Thread* self, AllocatorType allocator_type, argument
186 if (allocator_type != kAllocatorTypeTLAB &&
187 UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, alloc_size))) {
191 switch (allocator_type) {
238 if (UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, new_tlab_size))) {
291 inline bool Heap::IsOutOfMemoryOnAllocation(AllocatorType allocator_type, size_t alloc_size) { argument
297 if (!AllocatorMayHaveConcurrentGC(allocator_type) || !IsGcConcurrent()) {
H A Dheap.h24 #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 Dheap.cc914 void Heap::ThrowOutOfMemoryError(Thread* self, size_t byte_count, AllocatorType allocator_type) { argument
922 if (allocator_type == kAllocatorTypeNonMoving) {
924 } else if (allocator_type == kAllocatorTypeRosAlloc ||
925 allocator_type == kAllocatorTypeDlMalloc) {
927 } else if (allocator_type == kAllocatorTypeBumpPointer ||
928 allocator_type == kAllocatorTypeTLAB) {
/art/runtime/mirror/
H A Darray-inl.h134 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 Dobject_array-inl.h36 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 Dclass-inl.h533 inline Object* Class::Alloc(Thread* self, gc::AllocatorType allocator_type) { argument
542 allocator_type, VoidFunctor());
/art/runtime/
H A Dsafe_map.h39 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 Dentrypoint_utils-inl.h126 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...]

Completed in 2486 milliseconds