/art/runtime/native/ |
H A D | java_lang_StringFactory.cc | 46 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 49 allocator_type); 60 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 63 allocator_type); 75 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 77 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 | 622 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 624 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); \ 62 if (kUseTlabFastPath && !instrumented_bool && allocator_type == gc::kAllocatorTypeTLAB) { \ 82 return AllocObjectFromCodeResolved<instrumented_bool>(klass, self, allocator_type); \ 88 if (kUseTlabFastPath && !instrumented_bool && allocator_type == gc::kAllocatorTypeTLAB) { \ 106 return AllocObjectFromCodeInitialized<instrumented_bool>(klass, self, allocator_type); \ 112 return AllocObjectFromCode<true, instrumented_bool>(type_idx, method, self, allocator_type); \ 119 allocator_type); \ 126 allocator_type); \ [all...] |
/art/runtime/base/ |
H A D | dchecked_vector.h | 45 using typename Base::allocator_type; 60 explicit dchecked_vector(const allocator_type& alloc) 62 // Note that we cannot forward to std::vector(size_type, const allocator_type&) because it is not 64 explicit dchecked_vector(size_type n, const allocator_type& alloc = allocator_type()) argument 68 const allocator_type& alloc = allocator_type()) 73 const allocator_type& alloc = allocator_type()) 77 dchecked_vector(const dchecked_vector& src, const allocator_type 66 dchecked_vector(size_type n, const value_type& value, const allocator_type& alloc = allocator_type()) argument 71 dchecked_vector(InputIterator first, InputIterator last, const allocator_type& alloc = allocator_type()) argument 83 dchecked_vector(std::initializer_list<value_type> il, const allocator_type& alloc = allocator_type()) argument [all...] |
H A D | hash_set.h | 120 using allocator_type = Alloc; 155 explicit HashSet(const allocator_type& alloc) noexcept 422 allocator_type get_allocator() const {
|
/art/runtime/mirror/ |
H A D | string-inl.h | 156 inline String* String::Alloc(Thread* self, int32_t utf16_length, gc::AllocatorType allocator_type, argument 187 allocator_type, pre_fence_visitor)); 193 int32_t high_byte, gc::AllocatorType allocator_type) { 195 String* string = Alloc<kIsInstrumented>(self, byte_length, allocator_type, visitor); 202 gc::AllocatorType allocator_type) { 206 String* new_string = Alloc<kIsInstrumented>(self, count, allocator_type, visitor); 212 int32_t offset, gc::AllocatorType allocator_type) { 214 String* new_string = Alloc<kIsInstrumented>(self, string_length, allocator_type, visitor); 191 AllocFromByteArray(Thread* self, int32_t byte_length, Handle<ByteArray> array, int32_t offset, int32_t high_byte, gc::AllocatorType allocator_type) argument 200 AllocFromCharArray(Thread* self, int32_t count, Handle<CharArray> array, int32_t offset, gc::AllocatorType allocator_type) argument 211 AllocFromString(Thread* self, int32_t string_length, Handle<String> string, int32_t offset, gc::AllocatorType allocator_type) argument
|
H A D | string.cc | 85 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 87 String* new_string = Alloc<true>(self, length + length2, allocator_type, visitor); 99 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 101 String* string = Alloc<true>(self, utf16_length, allocator_type, visitor); 123 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 125 String* string = Alloc<true>(self, utf16_length, allocator_type, visitor);
|
H A D | string.h | 21 #include "gc/allocator_type.h" 87 gc::AllocatorType allocator_type, 95 gc::AllocatorType allocator_type) 101 gc::AllocatorType allocator_type) 107 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); 258 gc::AllocatorType allocator_type = heap->IsMovableObject(this) ? heap->GetCurrentAllocator() : local 260 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 | object_array.h | 34 gc::AllocatorType allocator_type)
|
H A D | array-inl.h | 153 size_t component_size_shift, gc::AllocatorType allocator_type) { 154 DCHECK(allocator_type != gc::kAllocatorTypeLOS); 178 allocator_type, visitor)); 185 allocator_type, visitor)); 152 Alloc(Thread* self, Class* array_class, int32_t component_count, size_t component_size_shift, gc::AllocatorType allocator_type) argument
|
H A D | array.h | 21 #include "gc/allocator_type.h" 41 size_t component_size_shift, gc::AllocatorType allocator_type)
|
/art/runtime/gc/ |
H A D | heap-inl.h | 200 // the allocator_type should be constant propagated. 237 AllocatorType allocator_type, 242 if (allocator_type != kAllocatorTypeTLAB && 243 allocator_type != kAllocatorTypeRegionTLAB && 244 allocator_type != kAllocatorTypeRosAlloc && 245 UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, alloc_size))) { 249 switch (allocator_type) { 265 if (UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, 275 if (UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, 317 if (UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, new_tlab_siz 236 TryToAllocate(Thread* self, AllocatorType allocator_type, size_t alloc_size, size_t* bytes_allocated, size_t* usable_size, size_t* bytes_tl_bulk_allocated) argument 407 IsOutOfMemoryOnAllocation(AllocatorType allocator_type, size_t alloc_size) argument [all...] |
H A D | heap.h | 25 #include "allocator_type.h" 812 static ALWAYS_INLINE bool AllocatorHasAllocationStack(AllocatorType allocator_type) { argument 814 allocator_type != kAllocatorTypeBumpPointer && 815 allocator_type != kAllocatorTypeTLAB && 816 allocator_type != kAllocatorTypeRegion && 817 allocator_type != kAllocatorTypeRegionTLAB; 819 static ALWAYS_INLINE bool AllocatorMayHaveConcurrentGC(AllocatorType allocator_type) { argument 821 allocator_type != kAllocatorTypeBumpPointer && 822 allocator_type != kAllocatorTypeTLAB; 881 AllocatorType allocator_type, [all...] |
H A D | heap.cc | 1327 void Heap::ThrowOutOfMemoryError(Thread* self, size_t byte_count, AllocatorType allocator_type) { argument 1342 if (allocator_type == kAllocatorTypeNonMoving) { 1344 } else if (allocator_type == kAllocatorTypeRosAlloc || 1345 allocator_type == kAllocatorTypeDlMalloc) { 1347 } else if (allocator_type == kAllocatorTypeBumpPointer || 1348 allocator_type == kAllocatorTypeTLAB) { 1350 } else if (allocator_type == kAllocatorTypeRegion || 1351 allocator_type == kAllocatorTypeRegionTLAB) {
|
/art/runtime/entrypoints/ |
H A D | entrypoint_utils.h | 26 #include "gc/allocator_type.h" 65 gc::AllocatorType allocator_type) 72 gc::AllocatorType allocator_type) 79 gc::AllocatorType allocator_type) 99 gc::AllocatorType allocator_type) 107 gc::AllocatorType allocator_type) 113 gc::AllocatorType allocator_type) 121 gc::AllocatorType allocator_type)
|
H A D | entrypoint_utils-inl.h | 177 gc::AllocatorType allocator_type) { 190 return klass->Alloc<kInstrumented>(self, allocator_type); 198 gc::AllocatorType allocator_type) { 213 return klass->Alloc<kInstrumented, false>(self, allocator_type); 221 gc::AllocatorType allocator_type) { 224 return klass->Alloc<kInstrumented, false>(self, allocator_type); 272 gc::AllocatorType allocator_type) { 289 klass->GetComponentSizeShift(), allocator_type); 298 gc::AllocatorType allocator_type) { 314 klass->GetComponentSizeShift(), allocator_type); 174 AllocObjectFromCode(uint32_t type_idx, ArtMethod* method, Thread* self, gc::AllocatorType allocator_type) argument 196 AllocObjectFromCodeResolved(mirror::Class* klass, Thread* self, gc::AllocatorType allocator_type) argument 219 AllocObjectFromCodeInitialized(mirror::Class* klass, Thread* self, gc::AllocatorType allocator_type) argument 268 AllocArrayFromCode(uint32_t type_idx, int32_t component_count, ArtMethod* method, Thread* self, gc::AllocatorType allocator_type) argument 294 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 | 40 typedef typename ::std::map<K, V, Comparator, Allocator>::allocator_type allocator_type; typedef in class:art::SafeMap 49 explicit SafeMap(const key_compare& cmp, const allocator_type& allocator = allocator_type()) argument 58 allocator_type get_allocator() const { return map_.get_allocator(); }
|
H A D | leb128.h | 239 explicit Leb128EncodingVector(const typename Vector::allocator_type& alloc)
|
/art/compiler/debug/dwarf/ |
H A D | debug_info_entry_writer.h | 202 const typename Vector::allocator_type& alloc = 203 typename Vector::allocator_type())
|
H A D | debug_line_opcode_writer.h | 225 const typename Vector::allocator_type& alloc = 226 typename Vector::allocator_type())
|
H A D | debug_frame_opcode_writer.h | 301 const typename Vector::allocator_type& alloc = 302 typename Vector::allocator_type())
|
/art/runtime/interpreter/mterp/ |
H A D | mterp.cc | 328 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 330 obj = String::Alloc<true>(self, 0, allocator_type, visitor);
|