/art/runtime/native/ |
H A D | java_lang_StringFactory.cc | 46 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 49 allocator_type); 58 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 61 allocator_type); 73 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 75 string, 0, allocator_type);
|
H A D | java_lang_String.cc | 77 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 79 start, allocator_type);
|
H A D | java_lang_Class.cc | 463 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 465 mirror::Object* obj = mirror::String::Alloc<true>(soa.Self(), 0, allocator_type, visitor);
|
/art/runtime/entrypoints/quick/ |
H A D | quick_alloc_entrypoints.cc | 30 #define GENERATE_ENTRYPOINTS_FOR_ALLOCATOR_INST(suffix, suffix2, instrumented_bool, allocator_type) \ 35 if (kUseTlabFastPath && !instrumented_bool && allocator_type == gc::kAllocatorTypeTLAB) { \ 56 return AllocObjectFromCode<false, instrumented_bool>(type_idx, method, self, allocator_type); \ 63 if (kUseTlabFastPath && !instrumented_bool && allocator_type == gc::kAllocatorTypeTLAB) { \ 83 return AllocObjectFromCodeResolved<instrumented_bool>(klass, self, allocator_type); \ 90 if (kUseTlabFastPath && !instrumented_bool && allocator_type == gc::kAllocatorTypeTLAB) { \ 108 return AllocObjectFromCodeInitialized<instrumented_bool>(klass, self, allocator_type); \ 114 return AllocObjectFromCode<true, instrumented_bool>(type_idx, method, self, allocator_type); \ 121 allocator_type); \ 128 allocator_type); \ [all...] |
/art/runtime/mirror/ |
H A D | string-inl.h | 149 inline String* String::Alloc(Thread* self, int32_t utf16_length, gc::AllocatorType allocator_type, argument 166 allocator_type, pre_fence_visitor)); 172 int32_t high_byte, gc::AllocatorType allocator_type) { 174 String* string = Alloc<kIsInstrumented>(self, byte_length, allocator_type, visitor); 181 gc::AllocatorType allocator_type) { 183 String* new_string = Alloc<kIsInstrumented>(self, array_length, allocator_type, visitor); 189 int32_t offset, gc::AllocatorType allocator_type) { 191 String* new_string = Alloc<kIsInstrumented>(self, string_length, allocator_type, visitor); 170 AllocFromByteArray(Thread* self, int32_t byte_length, Handle<ByteArray> array, int32_t offset, int32_t high_byte, gc::AllocatorType allocator_type) argument 179 AllocFromCharArray(Thread* self, int32_t array_length, Handle<CharArray> array, int32_t offset, gc::AllocatorType allocator_type) argument 188 AllocFromString(Thread* self, int32_t string_length, Handle<String> string, int32_t offset, gc::AllocatorType allocator_type) argument
|
H A D | string.cc | 84 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 86 String* new_string = Alloc<true>(self, length + length2, allocator_type, visitor); 98 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 100 String* string = Alloc<true>(self, utf16_length, allocator_type, visitor); 117 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 119 String* string = Alloc<true>(self, utf16_length, allocator_type, visitor);
|
H A D | string.h | 21 #include "gc/allocator_type.h" 86 gc::AllocatorType allocator_type, 94 gc::AllocatorType allocator_type) 100 gc::AllocatorType allocator_type) 106 gc::AllocatorType allocator_type)
|
H A D | array.cc | 135 gc::AllocatorType allocator_type = heap->IsMovableObject(this) ? heap->GetCurrentAllocator() : local 139 Array* new_array = Alloc<true>(self, GetClass(), new_length, component_shift, allocator_type);
|
H A D | object_array-inl.h | 38 int32_t length, gc::AllocatorType allocator_type) { 41 allocator_type); 255 gc::AllocatorType allocator_type = heap->IsMovableObject(this) ? heap->GetCurrentAllocator() : local 257 ObjectArray<T>* new_array = Alloc(self, GetClass(), new_length, allocator_type); 37 Alloc(Thread* self, Class* object_array_class, int32_t length, gc::AllocatorType allocator_type) argument
|
H A D | array-inl.h | 154 size_t component_size_shift, gc::AllocatorType allocator_type) { 155 DCHECK(allocator_type != gc::kAllocatorTypeLOS); 179 allocator_type, visitor)); 186 allocator_type, visitor)); 153 Alloc(Thread* self, Class* array_class, int32_t component_count, size_t component_size_shift, gc::AllocatorType allocator_type) argument
|
H A D | object_array.h | 34 gc::AllocatorType allocator_type)
|
H A D | array.h | 21 #include "gc/allocator_type.h" 41 size_t component_size_shift, gc::AllocatorType allocator_type)
|
H A D | class-inl.h | 591 inline Object* Class::Alloc(Thread* self, gc::AllocatorType allocator_type) { argument 600 allocator_type, VoidFunctor());
|
H A D | class.h | 23 #include "gc/allocator_type.h" 481 ALWAYS_INLINE Object* Alloc(Thread* self, gc::AllocatorType allocator_type)
|
/art/runtime/gc/ |
H A D | heap-inl.h | 187 // the allocator_type should be constant propagated. 222 inline mirror::Object* Heap::TryToAllocate(Thread* self, AllocatorType allocator_type, argument 226 if (allocator_type != kAllocatorTypeTLAB && allocator_type != kAllocatorTypeRegionTLAB && 227 allocator_type != kAllocatorTypeRosAlloc && 228 UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, alloc_size))) { 232 switch (allocator_type) { 248 if (UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, 258 if (UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, 300 if (UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, new_tlab_siz 405 IsOutOfMemoryOnAllocation(AllocatorType allocator_type, size_t alloc_size) argument [all...] |
H A D | heap.h | 25 #include "allocator_type.h" 712 static ALWAYS_INLINE bool AllocatorHasAllocationStack(AllocatorType allocator_type) { argument 714 allocator_type != kAllocatorTypeBumpPointer && 715 allocator_type != kAllocatorTypeTLAB && 716 allocator_type != kAllocatorTypeRegion && 717 allocator_type != kAllocatorTypeRegionTLAB; 719 static ALWAYS_INLINE bool AllocatorMayHaveConcurrentGC(AllocatorType allocator_type) { argument 721 allocator_type != kAllocatorTypeBumpPointer && 722 allocator_type != kAllocatorTypeTLAB; 766 ALWAYS_INLINE mirror::Object* TryToAllocate(Thread* self, AllocatorType allocator_type, [all...] |
H A D | heap.cc | 1138 void Heap::ThrowOutOfMemoryError(Thread* self, size_t byte_count, AllocatorType allocator_type) { argument 1146 if (allocator_type == kAllocatorTypeNonMoving) { 1148 } else if (allocator_type == kAllocatorTypeRosAlloc || 1149 allocator_type == kAllocatorTypeDlMalloc) { 1151 } else if (allocator_type == kAllocatorTypeBumpPointer || 1152 allocator_type == kAllocatorTypeTLAB) { 1154 } else if (allocator_type == kAllocatorTypeRegion || 1155 allocator_type == kAllocatorTypeRegionTLAB) {
|
/art/runtime/entrypoints/ |
H A D | entrypoint_utils.h | 26 #include "gc/allocator_type.h" 63 gc::AllocatorType allocator_type) 70 gc::AllocatorType allocator_type) 77 gc::AllocatorType allocator_type) 97 gc::AllocatorType allocator_type) 105 gc::AllocatorType allocator_type) 111 gc::AllocatorType allocator_type) 119 gc::AllocatorType allocator_type)
|
H A D | entrypoint_utils-inl.h | 146 gc::AllocatorType allocator_type) { 156 return klass->Alloc<kInstrumented>(self, allocator_type); 164 gc::AllocatorType allocator_type) { 177 return klass->Alloc<kInstrumented, false>(self, allocator_type); 185 gc::AllocatorType allocator_type) { 188 return klass->Alloc<kInstrumented, false>(self, allocator_type); 234 gc::AllocatorType allocator_type) { 248 klass->GetComponentSizeShift(), allocator_type); 257 gc::AllocatorType allocator_type) { 273 klass->GetComponentSizeShift(), allocator_type); 143 AllocObjectFromCode(uint32_t type_idx, ArtMethod* method, Thread* self, gc::AllocatorType allocator_type) argument 162 AllocObjectFromCodeResolved(mirror::Class* klass, Thread* self, gc::AllocatorType allocator_type) argument 183 AllocObjectFromCodeInitialized(mirror::Class* klass, Thread* self, gc::AllocatorType allocator_type) argument 230 AllocArrayFromCode(uint32_t type_idx, int32_t component_count, ArtMethod* method, Thread* self, gc::AllocatorType allocator_type) argument 253 AllocArrayFromCodeResolved(mirror::Class* klass, int32_t component_count, ArtMethod* method, Thread* self, gc::AllocatorType allocator_type) argument [all...] |
/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 48 explicit SafeMap(const key_compare& cmp, const allocator_type& allocator = allocator_type()) argument 57 allocator_type get_allocator() const { return map_.get_allocator(); }
|
H A D | Android.mk | 315 gc/allocator_type.h \
|
H A D | jni_internal.cc | 595 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 598 allocator_type, visitor));
|
/art/runtime/interpreter/ |
H A D | interpreter_goto_table_impl.cc | 517 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 519 obj = String::Alloc<true>(self, 0, allocator_type, visitor);
|
H A D | interpreter_switch_impl.cc | 421 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 423 obj = String::Alloc<true>(self, 0, allocator_type, visitor);
|