Searched defs:allocator_type (Results 1 - 19 of 19) sorted by relevance

/art/runtime/native/
H A Djava_lang_StringFactory.cc48 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 Djava_lang_String.cc75 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local
80 allocator_type);
H A Djava_lang_Class.cc835 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local
836 ObjPtr<mirror::Object> obj = mirror::String::AllocEmptyString<true>(soa.Self(), allocator_type);
/art/libartbase/base/
H A Ddchecked_vector.h45 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 Dsafe_map.h39 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(); }
/art/runtime/mirror/
H A Darray.cc136 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 Dobject_array-inl.h42 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 Dstring-inl.h214 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 Darray-inl.h158 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 Dstring.cc105 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 Dclass-inl.h783 inline ObjPtr<Object> Class::Alloc(Thread* self, gc::AllocatorType allocator_type) { argument
795 allocator_type,
/art/runtime/gc/
H A Dheap-inl.h212 // 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 Dheap.h27 #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 Dheap.cc1208 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/interpreter/
H A Dinterpreter_switch_impl.cc663 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local
664 obj = mirror::String::AllocEmptyString<true>(self, allocator_type);
/art/runtime/interpreter/mterp/
H A Dmterp.cc475 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local
476 obj = mirror::String::AllocEmptyString<true>(self, allocator_type);
/art/runtime/entrypoints/
H A Dentrypoint_utils-inl.h182 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/runtime/
H A Djni_internal.cc714 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local
716 allocator_type));
H A Ddebugger.cc1379 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local
1380 new_object = mirror::String::AllocEmptyString<true>(self, allocator_type);

Completed in 214 milliseconds