/art/runtime/entrypoints/quick/ |
D | quick_alloc_entrypoints.cc | 37 gc::AllocatorType allocator_type> 43 if (kUseTlabFastPath && !kInstrumented && allocator_type == gc::kAllocatorTypeTLAB) { in artAllocObjectFromCode() 63 return AllocObjectFromCodeInitialized<kInstrumented>(klass, self, allocator_type).Ptr(); in artAllocObjectFromCode() 65 return AllocObjectFromCodeResolved<kInstrumented>(klass, self, allocator_type).Ptr(); in artAllocObjectFromCode() 67 return AllocObjectFromCode<kInstrumented>(klass, self, allocator_type).Ptr(); in artAllocObjectFromCode() 71 #define GENERATE_ENTRYPOINTS_FOR_ALLOCATOR_INST(suffix, suffix2, instrumented_bool, allocator_type)… argument 75 return artAllocObjectFromCode<false, true, instrumented_bool, allocator_type>(klass, self); \ 80 return artAllocObjectFromCode<false, false, instrumented_bool, allocator_type>(klass, self); \ 85 return artAllocObjectFromCode<true, false, instrumented_bool, allocator_type>(klass, self); \ 92 return mirror::String::AllocEmptyString<instrumented_bool>(self, allocator_type).Ptr(); \ [all …]
|
/art/runtime/native/ |
D | java_lang_StringFactory.cc | 49 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromBytes() local 55 allocator_type); in StringFactory_newStringFromBytes() 66 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromChars() local 71 allocator_type); in StringFactory_newStringFromChars() 83 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromString() local 88 allocator_type); in StringFactory_newStringFromString()
|
D | java_lang_String.cc | 75 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in String_fastSubstring() local 80 allocator_type); in String_fastSubstring()
|
/art/libartbase/base/ |
D | dchecked_vector.h | 45 using typename Base::allocator_type; 60 explicit dchecked_vector(const allocator_type& alloc) in dchecked_vector() 62 explicit dchecked_vector(size_type n, const allocator_type& alloc = allocator_type()) 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) in dchecked_vector() 79 dchecked_vector(dchecked_vector&& src, const allocator_type& alloc) in dchecked_vector() 82 const allocator_type& alloc = allocator_type())
|
D | safe_map.h | 39 typedef typename ::std::map<K, V, Comparator, Allocator>::allocator_type allocator_type; typedef 49 explicit SafeMap(const key_compare& cmp, const allocator_type& allocator = allocator_type()) 58 allocator_type get_allocator() const { return map_.get_allocator(); } in get_allocator()
|
D | hash_set.h | 168 using allocator_type = Alloc; variable 203 explicit HashSet(const allocator_type& alloc) noexcept in HashSet() 483 allocator_type get_allocator() const { in get_allocator()
|
D | leb128.h | 367 explicit Leb128EncodingVector(const typename Vector::allocator_type& alloc) in Leb128EncodingVector()
|
/art/runtime/mirror/ |
D | object_array-alloc-inl.h | 39 gc::AllocatorType allocator_type) { in Alloc() argument 44 allocator_type); in Alloc() 70 gc::AllocatorType allocator_type = heap->IsMovableObject(this) ? heap->GetCurrentAllocator() : in CopyOf() local 72 ObjPtr<ObjectArray<T>> new_array = Alloc(self, GetClass(), new_length, allocator_type); in CopyOf()
|
D | string-alloc-inl.h | 160 gc::AllocatorType allocator_type, in Alloc() argument 197 allocator_type, in Alloc() 202 inline ObjPtr<String> String::AllocEmptyString(Thread* self, gc::AllocatorType allocator_type) { in AllocEmptyString() argument 205 return Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); in AllocEmptyString() 214 gc::AllocatorType allocator_type) { in AllocFromByteArray() argument 221 return Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); in AllocFromByteArray() 229 gc::AllocatorType allocator_type) { in AllocFromCharArray() argument 236 return Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); in AllocFromCharArray() 244 gc::AllocatorType allocator_type) { in AllocFromString() argument 250 return Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); in AllocFromString()
|
D | array.cc | 56 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in RecursiveCreateMultiArray() local 58 self, array_class.Get(), array_length, component_size_shift, allocator_type))); in RecursiveCreateMultiArray() 124 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in Alloc() local 129 allocator_type); in Alloc() 149 gc::AllocatorType allocator_type = heap->IsMovableObject(this) ? heap->GetCurrentAllocator() : in CopyOf() local 154 Alloc<true>(self, klass, new_length, component_shift, allocator_type); // Invalidates klass. in CopyOf()
|
D | class-alloc-inl.h | 49 inline ObjPtr<Object> Class::Alloc(Thread* self, gc::AllocatorType allocator_type) { in Alloc() argument 61 allocator_type, in Alloc()
|
D | array-alloc-inl.h | 122 gc::AllocatorType allocator_type) { in Alloc() argument 123 DCHECK(allocator_type != gc::kAllocatorTypeLOS); in Alloc() 147 self, array_class, size, allocator_type, visitor)); in Alloc() 154 self, array_class, size, allocator_type, visitor)); in Alloc()
|
D | string.cc | 89 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in DoReplace() local 92 ObjPtr<String> string = Alloc<true>(self, length_with_flag, allocator_type, visitor); in DoReplace() 127 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in AllocFromStrings() local 133 ObjPtr<String> new_string = Alloc<true>(self, length_with_flag, allocator_type, visitor); in AllocFromStrings() 165 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in AllocFromUtf16() local 170 ObjPtr<String> string = Alloc<true>(self, length_with_flag, allocator_type, visitor); in AllocFromUtf16() 202 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in AllocFromModifiedUtf8() local 206 ObjPtr<String> string = Alloc<true>(self, utf16_length_with_flag, allocator_type, visitor); in AllocFromModifiedUtf8()
|
D | string.h | 123 gc::AllocatorType allocator_type) 131 gc::AllocatorType allocator_type) 139 gc::AllocatorType allocator_type) 144 gc::AllocatorType allocator_type) 254 gc::AllocatorType allocator_type,
|
D | object_test.cc | 159 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in TEST_F() local 161 Array::Alloc<true>(soa.Self(), c.Get(), 1, c->GetComponentSizeShift(), allocator_type)); in TEST_F() 166 a.Assign(Array::Alloc<true>(soa.Self(), c.Get(), 1, c->GetComponentSizeShift(), allocator_type)); in TEST_F() 171 a.Assign(Array::Alloc<true>(soa.Self(), c.Get(), 1, c->GetComponentSizeShift(), allocator_type)); in TEST_F() 180 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in TEST_F() local 182 Array::Alloc<true, true>(soa.Self(), c.Get(), 1, c->GetComponentSizeShift(), allocator_type)); in TEST_F() 188 Array::Alloc<true, true>(soa.Self(), c.Get(), 2, c->GetComponentSizeShift(), allocator_type)); in TEST_F() 194 Array::Alloc<true, true>(soa.Self(), c.Get(), 2, c->GetComponentSizeShift(), allocator_type)); in TEST_F() 200 Array::Alloc<true, true>(soa.Self(), c.Get(), 2, c->GetComponentSizeShift(), allocator_type)); in TEST_F()
|
D | object_array.h | 37 gc::AllocatorType allocator_type)
|
/art/runtime/gc/ |
D | heap-inl.h | 252 AllocatorType allocator_type, in TryToAllocate() argument 257 if (allocator_type != kAllocatorTypeRegionTLAB && in TryToAllocate() 258 allocator_type != kAllocatorTypeTLAB && in TryToAllocate() 259 allocator_type != kAllocatorTypeRosAlloc && in TryToAllocate() 260 UNLIKELY(IsOutOfMemoryOnAllocation(allocator_type, alloc_size, kGrow))) { in TryToAllocate() 264 switch (allocator_type) { in TryToAllocate() 280 if (UNLIKELY(IsOutOfMemoryOnAllocation(allocator_type, in TryToAllocate() 291 if (UNLIKELY(IsOutOfMemoryOnAllocation(allocator_type, in TryToAllocate() 396 inline bool Heap::IsOutOfMemoryOnAllocation(AllocatorType allocator_type, in IsOutOfMemoryOnAllocation() argument 411 if (AllocatorMayHaveConcurrentGC(allocator_type) && IsGcConcurrent()) { in IsOutOfMemoryOnAllocation()
|
D | heap.h | 939 static ALWAYS_INLINE bool AllocatorHasAllocationStack(AllocatorType allocator_type) { in AllocatorHasAllocationStack() argument 941 allocator_type != kAllocatorTypeRegionTLAB && in AllocatorHasAllocationStack() 942 allocator_type != kAllocatorTypeBumpPointer && in AllocatorHasAllocationStack() 943 allocator_type != kAllocatorTypeTLAB && in AllocatorHasAllocationStack() 944 allocator_type != kAllocatorTypeRegion; in AllocatorHasAllocationStack() 946 static ALWAYS_INLINE bool AllocatorMayHaveConcurrentGC(AllocatorType allocator_type) { in AllocatorMayHaveConcurrentGC() argument 952 allocator_type != kAllocatorTypeTLAB && in AllocatorMayHaveConcurrentGC() 953 allocator_type != kAllocatorTypeBumpPointer; in AllocatorMayHaveConcurrentGC() 1018 AllocatorType allocator_type, 1033 void ThrowOutOfMemoryError(Thread* self, size_t byte_count, AllocatorType allocator_type) [all …]
|
D | heap.cc | 1354 void Heap::ThrowOutOfMemoryError(Thread* self, size_t byte_count, AllocatorType allocator_type) { in ThrowOutOfMemoryError() argument 1373 if (allocator_type == kAllocatorTypeNonMoving) { in ThrowOutOfMemoryError() 1375 } else if (allocator_type == kAllocatorTypeRosAlloc || in ThrowOutOfMemoryError() 1376 allocator_type == kAllocatorTypeDlMalloc) { in ThrowOutOfMemoryError() 1378 } else if (allocator_type == kAllocatorTypeBumpPointer || in ThrowOutOfMemoryError() 1379 allocator_type == kAllocatorTypeTLAB) { in ThrowOutOfMemoryError() 1381 } else if (allocator_type == kAllocatorTypeRegion || in ThrowOutOfMemoryError() 1382 allocator_type == kAllocatorTypeRegionTLAB) { in ThrowOutOfMemoryError() 4319 const AllocatorType allocator_type = GetCurrentAllocator(); in AllocWithNewTLAB() local 4328 if (UNLIKELY(IsOutOfMemoryOnAllocation(allocator_type, expand_bytes, grow))) { in AllocWithNewTLAB() [all …]
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.h | 55 gc::AllocatorType allocator_type) 64 gc::AllocatorType allocator_type) 73 gc::AllocatorType allocator_type) 95 gc::AllocatorType allocator_type) 104 gc::AllocatorType allocator_type)
|
D | entrypoint_utils-inl.h | 189 gc::AllocatorType allocator_type) { in AllocObjectFromCode() argument 202 return klass->Alloc<kInstrumented>(self, allocator_type); in AllocObjectFromCode() 210 gc::AllocatorType allocator_type) { in AllocObjectFromCodeResolved() argument 225 return klass->Alloc<kInstrumented, false>(self, allocator_type); in AllocObjectFromCodeResolved() 233 gc::AllocatorType allocator_type) { in AllocObjectFromCodeInitialized() argument 236 return klass->Alloc<kInstrumented, false>(self, allocator_type); in AllocObjectFromCodeInitialized() 283 gc::AllocatorType allocator_type) { in AllocArrayFromCode() argument 300 klass->GetComponentSizeShift(), allocator_type); in AllocArrayFromCode() 308 gc::AllocatorType allocator_type) { in AllocArrayFromCodeResolved() argument 317 klass->GetComponentSizeShift(), allocator_type); in AllocArrayFromCodeResolved()
|
/art/libelffile/dwarf/ |
D | debug_line_opcode_writer.h | 225 const typename Vector::allocator_type& alloc = 226 typename Vector::allocator_type())
|
D | debug_info_entry_writer.h | 202 const typename Vector::allocator_type& alloc = 203 typename Vector::allocator_type())
|
D | debug_frame_opcode_writer.h | 301 const typename Vector::allocator_type& alloc = 302 typename Vector::allocator_type())
|
/art/openjdkjvmti/ |
D | jvmti_weak_table-inl.h | 250 using allocator_type = Allocator; 252 explicit ReleasableContainer(const allocator_type& alloc, size_t reserve = 10)
|