/art/runtime/entrypoints/quick/ |
D | quick_alloc_entrypoints.cc | 35 gc::AllocatorType allocator_type> 41 if (kUseTlabFastPath && !kInstrumented && allocator_type == gc::kAllocatorTypeTLAB) { in artAllocObjectFromCode() 61 return AllocObjectFromCodeInitialized<kInstrumented>(klass, self, allocator_type); in artAllocObjectFromCode() 63 return AllocObjectFromCodeResolved<kInstrumented>(klass, self, allocator_type); in artAllocObjectFromCode() 65 return AllocObjectFromCode<kInstrumented>(klass, self, allocator_type); in artAllocObjectFromCode() 69 #define GENERATE_ENTRYPOINTS_FOR_ALLOCATOR_INST(suffix, suffix2, instrumented_bool, allocator_type)… argument 73 return artAllocObjectFromCode<false, true, instrumented_bool, allocator_type>(klass, self); \ 78 return artAllocObjectFromCode<false, false, instrumented_bool, allocator_type>(klass, self); \ 83 return artAllocObjectFromCode<true, false, instrumented_bool, allocator_type>(klass, self); \ 90 allocator_type); \ [all …]
|
/art/runtime/native/ |
D | java_lang_StringFactory.cc | 48 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromBytes() local 54 allocator_type); in StringFactory_newStringFromBytes() 65 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromChars() local 70 allocator_type); in StringFactory_newStringFromChars() 82 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromString() local 87 allocator_type); in StringFactory_newStringFromString()
|
D | java_lang_String.cc | 82 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in String_fastSubstring() local 87 allocator_type); in String_fastSubstring()
|
D | java_lang_Class.cc | 708 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in Class_newInstance() local 709 ObjPtr<mirror::Object> obj = mirror::String::AllocEmptyString<true>(soa.Self(), allocator_type); in Class_newInstance()
|
/art/runtime/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 | hash_set.h | 120 using allocator_type = Alloc; variable 155 explicit HashSet(const allocator_type& alloc) noexcept in HashSet() 422 allocator_type get_allocator() const { in get_allocator()
|
/art/runtime/mirror/ |
D | string-inl.h | 205 gc::AllocatorType allocator_type, in Alloc() argument 239 allocator_type, pre_fence_visitor)); in Alloc() 243 inline String* String::AllocEmptyString(Thread* self, gc::AllocatorType allocator_type) { in AllocEmptyString() argument 246 return Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); in AllocEmptyString() 252 int32_t high_byte, gc::AllocatorType allocator_type) { in AllocFromByteArray() argument 259 String* string = Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); in AllocFromByteArray() 266 gc::AllocatorType allocator_type) { in AllocFromCharArray() argument 273 String* new_string = Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); in AllocFromCharArray() 279 int32_t offset, gc::AllocatorType allocator_type) { in AllocFromString() argument 285 String* new_string = Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor); in AllocFromString()
|
D | string.cc | 104 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in DoReplace() local 107 ObjPtr<String> string = Alloc<true>(self, length_with_flag, allocator_type, visitor); in DoReplace() 140 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in AllocFromStrings() local 146 ObjPtr<String> new_string = Alloc<true>(self, length_with_flag, allocator_type, visitor); in AllocFromStrings() 176 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in AllocFromUtf16() local 181 ObjPtr<String> string = Alloc<true>(self, length_with_flag, allocator_type, visitor); in AllocFromUtf16() 213 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in AllocFromModifiedUtf8() local 217 ObjPtr<String> string = Alloc<true>(self, utf16_length_with_flag, allocator_type, visitor); in AllocFromModifiedUtf8()
|
D | string.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,
|
D | array.cc | 136 gc::AllocatorType allocator_type = heap->IsMovableObject(this) ? heap->GetCurrentAllocator() : in CopyOf() local 140 …jPtr<Array> new_array = Alloc<true>(self, GetClass(), new_length, component_shift, allocator_type); in CopyOf()
|
D | object_array-inl.h | 42 int32_t length, gc::AllocatorType allocator_type) { in Alloc() argument 47 allocator_type); in Alloc() 355 gc::AllocatorType allocator_type = heap->IsMovableObject(this) ? heap->GetCurrentAllocator() : in CopyOf() local 357 ObjectArray<T>* new_array = Alloc(self, GetClass(), new_length, allocator_type); in CopyOf()
|
D | array-inl.h | 159 gc::AllocatorType allocator_type) { in Alloc() argument 160 DCHECK(allocator_type != gc::kAllocatorTypeLOS); in Alloc() 184 allocator_type, visitor)); in Alloc() 191 allocator_type, visitor)); in Alloc()
|
D | object_array.h | 37 gc::AllocatorType allocator_type)
|
D | array.h | 45 gc::AllocatorType allocator_type)
|
/art/runtime/gc/ |
D | heap-inl.h | 247 AllocatorType allocator_type, in TryToAllocate() argument 252 if (allocator_type != kAllocatorTypeTLAB && in TryToAllocate() 253 allocator_type != kAllocatorTypeRegionTLAB && in TryToAllocate() 254 allocator_type != kAllocatorTypeRosAlloc && in TryToAllocate() 255 UNLIKELY(IsOutOfMemoryOnAllocation(allocator_type, alloc_size, kGrow))) { in TryToAllocate() 259 switch (allocator_type) { in TryToAllocate() 275 if (UNLIKELY(IsOutOfMemoryOnAllocation(allocator_type, in TryToAllocate() 286 if (UNLIKELY(IsOutOfMemoryOnAllocation(allocator_type, in TryToAllocate() 391 inline bool Heap::IsOutOfMemoryOnAllocation(AllocatorType allocator_type, in IsOutOfMemoryOnAllocation() argument 399 if (!AllocatorMayHaveConcurrentGC(allocator_type) || !IsGcConcurrent()) { in IsOutOfMemoryOnAllocation()
|
D | heap.h | 851 static ALWAYS_INLINE bool AllocatorHasAllocationStack(AllocatorType allocator_type) { in AllocatorHasAllocationStack() argument 853 allocator_type != kAllocatorTypeBumpPointer && in AllocatorHasAllocationStack() 854 allocator_type != kAllocatorTypeTLAB && in AllocatorHasAllocationStack() 855 allocator_type != kAllocatorTypeRegion && in AllocatorHasAllocationStack() 856 allocator_type != kAllocatorTypeRegionTLAB; in AllocatorHasAllocationStack() 858 static ALWAYS_INLINE bool AllocatorMayHaveConcurrentGC(AllocatorType allocator_type) { in AllocatorMayHaveConcurrentGC() argument 864 allocator_type != kAllocatorTypeBumpPointer && in AllocatorMayHaveConcurrentGC() 865 allocator_type != kAllocatorTypeTLAB; in AllocatorMayHaveConcurrentGC() 925 AllocatorType allocator_type, 940 void ThrowOutOfMemoryError(Thread* self, size_t byte_count, AllocatorType allocator_type) [all …]
|
D | heap.cc | 1211 void Heap::ThrowOutOfMemoryError(Thread* self, size_t byte_count, AllocatorType allocator_type) { in ThrowOutOfMemoryError() argument 1228 if (allocator_type == kAllocatorTypeNonMoving) { in ThrowOutOfMemoryError() 1230 } else if (allocator_type == kAllocatorTypeRosAlloc || in ThrowOutOfMemoryError() 1231 allocator_type == kAllocatorTypeDlMalloc) { in ThrowOutOfMemoryError() 1233 } else if (allocator_type == kAllocatorTypeBumpPointer || in ThrowOutOfMemoryError() 1234 allocator_type == kAllocatorTypeTLAB) { in ThrowOutOfMemoryError() 1236 } else if (allocator_type == kAllocatorTypeRegion || in ThrowOutOfMemoryError() 1237 allocator_type == kAllocatorTypeRegionTLAB) { in ThrowOutOfMemoryError() 4060 const AllocatorType allocator_type = GetCurrentAllocator(); in AllocWithNewTLAB() local 4069 if (UNLIKELY(IsOutOfMemoryOnAllocation(allocator_type, expand_bytes, grow))) { in AllocWithNewTLAB() [all …]
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.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)
|
D | entrypoint_utils-inl.h | 186 gc::AllocatorType allocator_type) { in AllocObjectFromCode() argument 199 return klass->Alloc<kInstrumented>(self, allocator_type).Ptr(); in AllocObjectFromCode() 207 gc::AllocatorType allocator_type) { in AllocObjectFromCodeResolved() argument 222 return klass->Alloc<kInstrumented, false>(self, allocator_type).Ptr(); in AllocObjectFromCodeResolved() 230 gc::AllocatorType allocator_type) { in AllocObjectFromCodeInitialized() argument 233 return klass->Alloc<kInstrumented, false>(self, allocator_type).Ptr(); in AllocObjectFromCodeInitialized() 280 gc::AllocatorType allocator_type) { in AllocArrayFromCode() argument 297 klass->GetComponentSizeShift(), allocator_type); in AllocArrayFromCode() 305 gc::AllocatorType allocator_type) { in AllocArrayFromCodeResolved() argument 314 klass->GetComponentSizeShift(), allocator_type); in AllocArrayFromCodeResolved()
|
/art/runtime/ |
D | safe_map.h | 40 typedef typename ::std::map<K, V, Comparator, Allocator>::allocator_type allocator_type; typedef 50 explicit SafeMap(const key_compare& cmp, const allocator_type& allocator = allocator_type()) 59 allocator_type get_allocator() const { return map_.get_allocator(); } in get_allocator()
|
D | leb128.h | 333 explicit Leb128EncodingVector(const typename Vector::allocator_type& alloc) in Leb128EncodingVector()
|
/art/compiler/debug/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/runtime/openjdkjvmti/ |
D | jvmti_weak_table-inl.h | 249 using allocator_type = Allocator; 251 explicit ReleasableContainer(const allocator_type& alloc, size_t reserve = 10)
|