/art/runtime/native/ |
H A D | java_lang_StringFactory.cc | 48 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 54 allocator_type); 65 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 70 allocator_type); 82 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 87 allocator_type);
|
H A D | java_lang_String.cc | 75 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 80 allocator_type);
|
/art/runtime/entrypoints/quick/ |
H A D | quick_alloc_entrypoints.cc | 36 gc::AllocatorType allocator_type> 42 if (kUseTlabFastPath && !kInstrumented && allocator_type == gc::kAllocatorTypeTLAB) { 62 return AllocObjectFromCodeInitialized<kInstrumented>(klass, self, allocator_type); 64 return AllocObjectFromCodeResolved<kInstrumented>(klass, self, allocator_type); 66 return AllocObjectFromCode<kInstrumented>(klass, self, allocator_type); 70 #define GENERATE_ENTRYPOINTS_FOR_ALLOCATOR_INST(suffix, suffix2, instrumented_bool, allocator_type) \ 74 return artAllocObjectFromCode<false, true, instrumented_bool, allocator_type>(klass, self); \ 79 return artAllocObjectFromCode<false, false, instrumented_bool, allocator_type>(klass, self); \ 84 return artAllocObjectFromCode<true, false, instrumented_bool, allocator_type>(klass, self); \ 91 allocator_type); \ [all...] |
/art/libartbase/base/ |
H A D | dchecked_vector.h | 45 using typename Base::allocator_type; 60 explicit dchecked_vector(const allocator_type& alloc) 62 explicit dchecked_vector(size_type n, const allocator_type& alloc = allocator_type()) argument 66 const allocator_type& alloc = allocator_type()) 71 const allocator_type& alloc = allocator_type()) 75 dchecked_vector(const dchecked_vector& src, const allocator_type& alloc) 79 dchecked_vector(dchecked_vector&& src, const allocator_type 64 dchecked_vector(size_type n, const value_type& value, const allocator_type& alloc = allocator_type()) argument 69 dchecked_vector(InputIterator first, InputIterator last, const allocator_type& alloc = allocator_type()) argument 81 dchecked_vector(std::initializer_list<value_type> il, const allocator_type& alloc = allocator_type()) argument [all...] |
H A D | safe_map.h | 39 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 | hash_set.h | 124 using allocator_type = Alloc; 159 explicit HashSet(const allocator_type& alloc) noexcept 428 allocator_type get_allocator() const {
|
H A D | leb128.h | 367 explicit Leb128EncodingVector(const typename Vector::allocator_type& alloc)
|
/art/runtime/gc/ |
H A D | heap-inl.h | 212 // the allocator_type should be constant propagated. 249 AllocatorType allocator_type, 254 if (allocator_type != kAllocatorTypeTLAB && 255 allocator_type != kAllocatorTypeRegionTLAB && 256 allocator_type != kAllocatorTypeRosAlloc && 257 UNLIKELY(IsOutOfMemoryOnAllocation(allocator_type, alloc_size, kGrow))) { 261 switch (allocator_type) { 277 if (UNLIKELY(IsOutOfMemoryOnAllocation(allocator_type, 288 if (UNLIKELY(IsOutOfMemoryOnAllocation(allocator_type, 393 inline bool Heap::IsOutOfMemoryOnAllocation(AllocatorType allocator_type, argument 248 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 [all...] |
H A D | heap.h | 27 #include "allocator_type.h" 861 static ALWAYS_INLINE bool AllocatorHasAllocationStack(AllocatorType allocator_type) { argument 863 allocator_type != kAllocatorTypeBumpPointer && 864 allocator_type != kAllocatorTypeTLAB && 865 allocator_type != kAllocatorTypeRegion && 866 allocator_type != kAllocatorTypeRegionTLAB; 868 static ALWAYS_INLINE bool AllocatorMayHaveConcurrentGC(AllocatorType allocator_type) { argument 874 allocator_type != kAllocatorTypeBumpPointer && 875 allocator_type != kAllocatorTypeTLAB; 935 AllocatorType allocator_type, [all...] |
H A D | heap.cc | 1208 void Heap::ThrowOutOfMemoryError(Thread* self, size_t byte_count, AllocatorType allocator_type) { argument 1225 if (allocator_type == kAllocatorTypeNonMoving) { 1227 } else if (allocator_type == kAllocatorTypeRosAlloc || 1228 allocator_type == kAllocatorTypeDlMalloc) { 1230 } else if (allocator_type == kAllocatorTypeBumpPointer || 1231 allocator_type == kAllocatorTypeTLAB) { 1233 } else if (allocator_type == kAllocatorTypeRegion || 1234 allocator_type == kAllocatorTypeRegionTLAB) { 4026 const AllocatorType allocator_type = GetCurrentAllocator(); local 4035 if (UNLIKELY(IsOutOfMemoryOnAllocation(allocator_type, expand_byte [all...] |
/art/runtime/mirror/ |
H A D | string-inl.h | 214 gc::AllocatorType allocator_type, 248 allocator_type, pre_fence_visitor)); 252 inline String* String::AllocEmptyString(Thread* self, gc::AllocatorType allocator_type) { argument 255 return Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); 261 int32_t high_byte, gc::AllocatorType allocator_type) { 268 String* string = Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); 275 gc::AllocatorType allocator_type) { 282 String* new_string = Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); 288 int32_t offset, gc::AllocatorType allocator_type) { 294 String* new_string = Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visito 213 Alloc(Thread* self, int32_t utf16_length_with_flag, gc::AllocatorType allocator_type, const PreFenceVisitor& pre_fence_visitor) argument 259 AllocFromByteArray(Thread* self, int32_t byte_length, Handle<ByteArray> array, int32_t offset, int32_t high_byte, gc::AllocatorType allocator_type) argument 273 AllocFromCharArray(Thread* self, int32_t count, Handle<CharArray> array, int32_t offset, gc::AllocatorType allocator_type) argument 287 AllocFromString(Thread* self, int32_t string_length, Handle<String> string, int32_t offset, gc::AllocatorType allocator_type) argument [all...] |
H A D | string.h | 20 #include "gc/allocator_type.h" 107 gc::AllocatorType allocator_type) 113 gc::AllocatorType allocator_type) 119 gc::AllocatorType allocator_type) 124 gc::AllocatorType allocator_type) 251 gc::AllocatorType allocator_type,
|
H A D | array.cc | 136 gc::AllocatorType allocator_type = heap->IsMovableObject(this) ? heap->GetCurrentAllocator() : local 140 ObjPtr<Array> new_array = Alloc<true>(self, GetClass(), new_length, component_shift, allocator_type);
|
H A D | string.cc | 105 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 108 ObjPtr<String> string = Alloc<true>(self, length_with_flag, allocator_type, visitor); 141 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 147 ObjPtr<String> new_string = Alloc<true>(self, length_with_flag, allocator_type, visitor); 177 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 182 ObjPtr<String> string = Alloc<true>(self, length_with_flag, allocator_type, visitor); 214 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 218 ObjPtr<String> string = Alloc<true>(self, utf16_length_with_flag, allocator_type, visitor);
|
H A D | object_array-inl.h | 42 int32_t length, gc::AllocatorType allocator_type) { 47 allocator_type); 355 gc::AllocatorType allocator_type = heap->IsMovableObject(this) ? heap->GetCurrentAllocator() : local 357 ObjectArray<T>* new_array = Alloc(self, GetClass(), new_length, allocator_type); 40 Alloc(Thread* self, ObjPtr<Class> object_array_class, int32_t length, gc::AllocatorType allocator_type) argument
|
H A D | object_array.h | 37 gc::AllocatorType allocator_type)
|
H A D | array-inl.h | 158 gc::AllocatorType allocator_type) { 159 DCHECK(allocator_type != gc::kAllocatorTypeLOS); 183 allocator_type, visitor)); 190 allocator_type, visitor)); 154 Alloc(Thread* self, ObjPtr<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" 45 gc::AllocatorType allocator_type)
|
/art/runtime/entrypoints/ |
H A D | entrypoint_utils.h | 28 #include "gc/allocator_type.h" 53 gc::AllocatorType allocator_type) 61 gc::AllocatorType allocator_type) 70 gc::AllocatorType allocator_type) 92 gc::AllocatorType allocator_type) 100 gc::AllocatorType allocator_type)
|
H A D | entrypoint_utils-inl.h | 182 gc::AllocatorType allocator_type) { 195 return klass->Alloc<kInstrumented>(self, allocator_type).Ptr(); 203 gc::AllocatorType allocator_type) { 218 return klass->Alloc<kInstrumented, false>(self, allocator_type).Ptr(); 226 gc::AllocatorType allocator_type) { 229 return klass->Alloc<kInstrumented, false>(self, allocator_type).Ptr(); 276 gc::AllocatorType allocator_type) { 293 klass->GetComponentSizeShift(), allocator_type); 301 gc::AllocatorType allocator_type) { 310 klass->GetComponentSizeShift(), allocator_type); 180 AllocObjectFromCode(mirror::Class* klass, Thread* self, gc::AllocatorType allocator_type) argument 201 AllocObjectFromCodeResolved(mirror::Class* klass, Thread* self, gc::AllocatorType allocator_type) argument 224 AllocObjectFromCodeInitialized(mirror::Class* klass, Thread* self, gc::AllocatorType allocator_type) argument 272 AllocArrayFromCode(dex::TypeIndex type_idx, int32_t component_count, ArtMethod* method, Thread* self, gc::AllocatorType allocator_type) argument 298 AllocArrayFromCodeResolved(mirror::Class* klass, int32_t component_count, Thread* self, gc::AllocatorType allocator_type) argument [all...] |
/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/openjdkjvmti/ |
H A D | jvmti_weak_table-inl.h | 250 using allocator_type = Allocator; 252 explicit ReleasableContainer(const allocator_type& alloc, size_t reserve = 10)
|
/art/runtime/interpreter/mterp/ |
H A D | mterp.cc | 475 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local 476 obj = mirror::String::AllocEmptyString<true>(self, allocator_type);
|