Searched refs:allocator_type (Results 1 - 13 of 13) sorted by relevance

/art/runtime/entrypoints/quick/
H A Dquick_alloc_entrypoints.cc28 #define GENERATE_ENTRYPOINTS_FOR_ALLOCATOR_INST(suffix, suffix2, instrumented_bool, allocator_type) \
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 return CheckAndAllocArrayFromCode(type_idx, method, component_count, self, false, allocator_type); \
89 return CheckAndAllocArrayFromCodeInstrumented(type_idx, method, component_count, self, false, allocator_type); \
[all...]
/art/runtime/entrypoints/
H A Dentrypoint_utils.h25 #include "gc/allocator_type.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)
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...]
/art/runtime/gc/
H A Dheap-inl.h160 // 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 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.cc934 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/
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/mirror/
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 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.h34 gc::AllocatorType allocator_type)
H A Darray.h21 #include "gc/allocator_type.h"
41 size_t component_size, gc::AllocatorType allocator_type,
H A Dclass-inl.h554 inline Object* Class::Alloc(Thread* self, gc::AllocatorType allocator_type) { argument
563 allocator_type, VoidFunctor());
H A Dclass.h22 #include "gc/allocator_type.h"
465 ALWAYS_INLINE Object* Alloc(Thread* self, gc::AllocatorType allocator_type)

Completed in 221 milliseconds