Searched refs:allocator_type (Results 1 - 25 of 31) sorted by relevance

12

/art/runtime/native/
H A Djava_lang_StringFactory.cc46 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local
52 allocator_type);
63 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local
68 allocator_type);
80 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local
85 allocator_type);
H A Djava_lang_String.cc79 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local
84 allocator_type);
H A Djava_lang_Class.cc706 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local
707 ObjPtr<mirror::Object> obj = mirror::String::AllocEmptyString<true>(soa.Self(), allocator_type);
/art/runtime/entrypoints/quick/
H A Dquick_alloc_entrypoints.cc35 gc::AllocatorType allocator_type>
41 if (kUseTlabFastPath && !kInstrumented && allocator_type == gc::kAllocatorTypeTLAB) {
61 return AllocObjectFromCodeInitialized<kInstrumented>(klass, self, allocator_type);
63 return AllocObjectFromCodeResolved<kInstrumented>(klass, self, allocator_type);
65 return AllocObjectFromCode<kInstrumented>(klass, self, allocator_type);
69 #define GENERATE_ENTRYPOINTS_FOR_ALLOCATOR_INST(suffix, suffix2, instrumented_bool, allocator_type) \
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/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 Dhash_set.h120 using allocator_type = Alloc;
155 explicit HashSet(const allocator_type& alloc) noexcept
422 allocator_type get_allocator() const {
/art/runtime/gc/
H A Dheap-inl.h204 // the allocator_type should be constant propagated.
241 AllocatorType allocator_type,
246 if (allocator_type != kAllocatorTypeTLAB &&
247 allocator_type != kAllocatorTypeRegionTLAB &&
248 allocator_type != kAllocatorTypeRosAlloc &&
249 UNLIKELY(IsOutOfMemoryOnAllocation(allocator_type, alloc_size, kGrow))) {
253 switch (allocator_type) {
269 if (UNLIKELY(IsOutOfMemoryOnAllocation(allocator_type,
280 if (UNLIKELY(IsOutOfMemoryOnAllocation(allocator_type,
385 inline bool Heap::IsOutOfMemoryOnAllocation(AllocatorType allocator_type, argument
240 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.h25 #include "allocator_type.h"
852 static ALWAYS_INLINE bool AllocatorHasAllocationStack(AllocatorType allocator_type) { argument
854 allocator_type != kAllocatorTypeBumpPointer &&
855 allocator_type != kAllocatorTypeTLAB &&
856 allocator_type != kAllocatorTypeRegion &&
857 allocator_type != kAllocatorTypeRegionTLAB;
859 static ALWAYS_INLINE bool AllocatorMayHaveConcurrentGC(AllocatorType allocator_type) { argument
865 allocator_type != kAllocatorTypeBumpPointer &&
866 allocator_type != kAllocatorTypeTLAB;
926 AllocatorType allocator_type,
[all...]
H A Dheap.cc1298 void Heap::ThrowOutOfMemoryError(Thread* self, size_t byte_count, AllocatorType allocator_type) { argument
1315 if (allocator_type == kAllocatorTypeNonMoving) {
1317 } else if (allocator_type == kAllocatorTypeRosAlloc ||
1318 allocator_type == kAllocatorTypeDlMalloc) {
1320 } else if (allocator_type == kAllocatorTypeBumpPointer ||
1321 allocator_type == kAllocatorTypeTLAB) {
1323 } else if (allocator_type == kAllocatorTypeRegion ||
1324 allocator_type == kAllocatorTypeRegionTLAB) {
4200 const AllocatorType allocator_type = GetCurrentAllocator(); local
4209 if (UNLIKELY(IsOutOfMemoryOnAllocation(allocator_type, expand_byte
[all...]
/art/runtime/mirror/
H A Dstring-inl.h210 gc::AllocatorType allocator_type,
244 allocator_type, pre_fence_visitor));
248 inline String* String::AllocEmptyString(Thread* self, gc::AllocatorType allocator_type) { argument
251 return Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor);
257 int32_t high_byte, gc::AllocatorType allocator_type) {
263 String* string = Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor);
270 gc::AllocatorType allocator_type) {
277 String* new_string = Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visitor);
283 int32_t offset, gc::AllocatorType allocator_type) {
289 String* new_string = Alloc<kIsInstrumented>(self, length_with_flag, allocator_type, visito
209 Alloc(Thread* self, int32_t utf16_length_with_flag, gc::AllocatorType allocator_type, const PreFenceVisitor& pre_fence_visitor) argument
255 AllocFromByteArray(Thread* self, int32_t byte_length, Handle<ByteArray> array, int32_t offset, int32_t high_byte, gc::AllocatorType allocator_type) argument
268 AllocFromCharArray(Thread* self, int32_t count, Handle<CharArray> array, int32_t offset, gc::AllocatorType allocator_type) argument
282 AllocFromString(Thread* self, int32_t string_length, Handle<String> string, int32_t offset, gc::AllocatorType allocator_type) argument
[all...]
H A Dstring.h21 #include "gc/allocator_type.h"
108 gc::AllocatorType allocator_type)
114 gc::AllocatorType allocator_type)
120 gc::AllocatorType allocator_type)
125 gc::AllocatorType allocator_type)
252 gc::AllocatorType allocator_type,
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 Dstring.cc101 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local
104 ObjPtr<String> string = Alloc<true>(self, length_with_flag, allocator_type, visitor);
137 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local
143 ObjPtr<String> new_string = Alloc<true>(self, length_with_flag, allocator_type, visitor);
173 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local
178 ObjPtr<String> string = Alloc<true>(self, length_with_flag, allocator_type, visitor);
210 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); local
214 ObjPtr<String> string = Alloc<true>(self, utf16_length_with_flag, allocator_type, visitor);
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 Dobject_array.h37 gc::AllocatorType allocator_type)
H A Darray-inl.h159 gc::AllocatorType allocator_type) {
160 DCHECK(allocator_type != gc::kAllocatorTypeLOS);
184 allocator_type, visitor));
191 allocator_type, visitor));
155 Alloc(Thread* self, ObjPtr<Class> array_class, int32_t component_count, size_t component_size_shift, gc::AllocatorType allocator_type) argument
H A Darray.h22 #include "gc/allocator_type.h"
46 gc::AllocatorType allocator_type)
/art/runtime/entrypoints/
H A Dentrypoint_utils.h27 #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 Dentrypoint_utils-inl.h190 gc::AllocatorType allocator_type) {
203 return klass->Alloc<kInstrumented>(self, allocator_type).Ptr();
211 gc::AllocatorType allocator_type) {
226 return klass->Alloc<kInstrumented, false>(self, allocator_type).Ptr();
234 gc::AllocatorType allocator_type) {
237 return klass->Alloc<kInstrumented, false>(self, allocator_type).Ptr();
284 gc::AllocatorType allocator_type) {
301 klass->GetComponentSizeShift(), allocator_type);
309 gc::AllocatorType allocator_type) {
318 klass->GetComponentSizeShift(), allocator_type);
188 AllocObjectFromCode(mirror::Class* klass, Thread* self, gc::AllocatorType allocator_type) argument
209 AllocObjectFromCodeResolved(mirror::Class* klass, Thread* self, gc::AllocatorType allocator_type) argument
232 AllocObjectFromCodeInitialized(mirror::Class* klass, Thread* self, gc::AllocatorType allocator_type) argument
280 AllocArrayFromCode(dex::TypeIndex type_idx, int32_t component_count, ArtMethod* method, Thread* self, gc::AllocatorType allocator_type) argument
306 AllocArrayFromCodeResolved(mirror::Class* klass, int32_t component_count, Thread* self, gc::AllocatorType allocator_type) argument
[all...]
/art/runtime/
H A Dsafe_map.h40 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 Dleb128.h333 explicit Leb128EncodingVector(const typename Vector::allocator_type& alloc)
/art/compiler/debug/dwarf/
H A Ddebug_info_entry_writer.h202 const typename Vector::allocator_type& alloc =
203 typename Vector::allocator_type())
H A Ddebug_line_opcode_writer.h225 const typename Vector::allocator_type& alloc =
226 typename Vector::allocator_type())
H A Ddebug_frame_opcode_writer.h301 const typename Vector::allocator_type& alloc =
302 typename Vector::allocator_type())
/art/runtime/openjdkjvmti/
H A Djvmti_weak_table-inl.h249 using allocator_type = Allocator;
251 explicit ReleasableContainer(const allocator_type& alloc, size_t reserve = 10)

Completed in 316 milliseconds

12