/art/runtime/entrypoints/quick/ |
D | quick_alloc_entrypoints.cc | 30 #define GENERATE_ENTRYPOINTS_FOR_ALLOCATOR_INST(suffix, suffix2, instrumented_bool, allocator_type)… argument 35 if (kUseTlabFastPath && !instrumented_bool && allocator_type == gc::kAllocatorTypeTLAB) { \ 56 return AllocObjectFromCode<false, instrumented_bool>(type_idx, method, self, allocator_type); \ 63 if (kUseTlabFastPath && !instrumented_bool && allocator_type == gc::kAllocatorTypeTLAB) { \ 83 return AllocObjectFromCodeResolved<instrumented_bool>(klass, self, allocator_type); \ 90 if (kUseTlabFastPath && !instrumented_bool && allocator_type == gc::kAllocatorTypeTLAB) { \ 108 return AllocObjectFromCodeInitialized<instrumented_bool>(klass, self, allocator_type); \ 114 return AllocObjectFromCode<true, instrumented_bool>(type_idx, method, self, allocator_type); \ 121 allocator_type); \ 128 allocator_type); \ [all …]
|
/art/runtime/native/ |
D | java_lang_StringFactory.cc | 46 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromBytes() local 49 allocator_type); in StringFactory_newStringFromBytes() 58 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromChars() local 61 allocator_type); in StringFactory_newStringFromChars() 73 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in StringFactory_newStringFromString() local 75 string, 0, allocator_type); in StringFactory_newStringFromString()
|
D | java_lang_String.cc | 77 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in String_fastSubstring() local 79 start, allocator_type); in String_fastSubstring()
|
D | java_lang_Class.cc | 463 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in Class_newInstance() local 465 mirror::Object* obj = mirror::String::Alloc<true>(soa.Self(), 0, allocator_type, visitor); in Class_newInstance()
|
/art/runtime/gc/ |
D | heap-inl.h | 222 inline mirror::Object* Heap::TryToAllocate(Thread* self, AllocatorType allocator_type, in TryToAllocate() argument 226 if (allocator_type != kAllocatorTypeTLAB && allocator_type != kAllocatorTypeRegionTLAB && in TryToAllocate() 227 allocator_type != kAllocatorTypeRosAlloc && in TryToAllocate() 228 UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, alloc_size))) { in TryToAllocate() 232 switch (allocator_type) { in TryToAllocate() 248 if (UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, in TryToAllocate() 258 if (UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, in TryToAllocate() 300 if (UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, new_tlab_size))) { in TryToAllocate() 332 … if (LIKELY(!IsOutOfMemoryOnAllocation<kGrow>(allocator_type, space::RegionSpace::kRegionSize))) { in TryToAllocate() 344 if (!IsOutOfMemoryOnAllocation<kGrow>(allocator_type, alloc_size)) { in TryToAllocate() [all …]
|
D | heap.h | 712 static ALWAYS_INLINE bool AllocatorHasAllocationStack(AllocatorType allocator_type) { in AllocatorHasAllocationStack() argument 714 allocator_type != kAllocatorTypeBumpPointer && in AllocatorHasAllocationStack() 715 allocator_type != kAllocatorTypeTLAB && in AllocatorHasAllocationStack() 716 allocator_type != kAllocatorTypeRegion && in AllocatorHasAllocationStack() 717 allocator_type != kAllocatorTypeRegionTLAB; in AllocatorHasAllocationStack() 719 static ALWAYS_INLINE bool AllocatorMayHaveConcurrentGC(AllocatorType allocator_type) { in AllocatorMayHaveConcurrentGC() argument 721 allocator_type != kAllocatorTypeBumpPointer && in AllocatorMayHaveConcurrentGC() 722 allocator_type != kAllocatorTypeTLAB; in AllocatorMayHaveConcurrentGC() 766 ALWAYS_INLINE mirror::Object* TryToAllocate(Thread* self, AllocatorType allocator_type, 772 void ThrowOutOfMemoryError(Thread* self, size_t byte_count, AllocatorType allocator_type) [all …]
|
D | heap.cc | 1138 void Heap::ThrowOutOfMemoryError(Thread* self, size_t byte_count, AllocatorType allocator_type) { in ThrowOutOfMemoryError() argument 1146 if (allocator_type == kAllocatorTypeNonMoving) { in ThrowOutOfMemoryError() 1148 } else if (allocator_type == kAllocatorTypeRosAlloc || in ThrowOutOfMemoryError() 1149 allocator_type == kAllocatorTypeDlMalloc) { in ThrowOutOfMemoryError() 1151 } else if (allocator_type == kAllocatorTypeBumpPointer || in ThrowOutOfMemoryError() 1152 allocator_type == kAllocatorTypeTLAB) { in ThrowOutOfMemoryError() 1154 } else if (allocator_type == kAllocatorTypeRegion || in ThrowOutOfMemoryError() 1155 allocator_type == kAllocatorTypeRegionTLAB) { in ThrowOutOfMemoryError()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.h | 63 gc::AllocatorType allocator_type) 70 gc::AllocatorType allocator_type) 77 … gc::AllocatorType allocator_type) 97 gc::AllocatorType allocator_type) 105 gc::AllocatorType allocator_type) 111 gc::AllocatorType allocator_type) 119 gc::AllocatorType allocator_type)
|
D | entrypoint_utils-inl.h | 146 gc::AllocatorType allocator_type) { in AllocObjectFromCode() argument 156 return klass->Alloc<kInstrumented>(self, allocator_type); in AllocObjectFromCode() 164 gc::AllocatorType allocator_type) { in AllocObjectFromCodeResolved() argument 177 return klass->Alloc<kInstrumented, false>(self, allocator_type); in AllocObjectFromCodeResolved() 185 gc::AllocatorType allocator_type) { in AllocObjectFromCodeInitialized() argument 188 return klass->Alloc<kInstrumented, false>(self, allocator_type); in AllocObjectFromCodeInitialized() 234 gc::AllocatorType allocator_type) { in AllocArrayFromCode() argument 248 klass->GetComponentSizeShift(), allocator_type); in AllocArrayFromCode() 257 gc::AllocatorType allocator_type) { in AllocArrayFromCodeResolved() argument 273 klass->GetComponentSizeShift(), allocator_type); in AllocArrayFromCodeResolved()
|
/art/runtime/mirror/ |
D | string-inl.h | 149 inline String* String::Alloc(Thread* self, int32_t utf16_length, gc::AllocatorType allocator_type, in Alloc() argument 166 allocator_type, pre_fence_visitor)); in Alloc() 172 int32_t high_byte, gc::AllocatorType allocator_type) { in AllocFromByteArray() argument 174 String* string = Alloc<kIsInstrumented>(self, byte_length, allocator_type, visitor); in AllocFromByteArray() 181 gc::AllocatorType allocator_type) { in AllocFromCharArray() argument 183 String* new_string = Alloc<kIsInstrumented>(self, array_length, allocator_type, visitor); in AllocFromCharArray() 189 int32_t offset, gc::AllocatorType allocator_type) { in AllocFromString() argument 191 String* new_string = Alloc<kIsInstrumented>(self, string_length, allocator_type, visitor); in AllocFromString()
|
D | string.cc | 84 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in AllocFromStrings() local 86 String* new_string = Alloc<true>(self, length + length2, allocator_type, visitor); in AllocFromStrings() 98 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in AllocFromUtf16() local 100 String* string = Alloc<true>(self, utf16_length, allocator_type, visitor); in AllocFromUtf16() 117 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in AllocFromModifiedUtf8() local 119 String* string = Alloc<true>(self, utf16_length, allocator_type, visitor); in AllocFromModifiedUtf8()
|
D | string.h | 86 gc::AllocatorType allocator_type, 94 gc::AllocatorType allocator_type) 100 gc::AllocatorType allocator_type) 106 gc::AllocatorType allocator_type)
|
D | object_array-inl.h | 38 int32_t length, gc::AllocatorType allocator_type) { in Alloc() argument 41 allocator_type); in Alloc() 255 gc::AllocatorType allocator_type = heap->IsMovableObject(this) ? heap->GetCurrentAllocator() : in CopyOf() local 257 ObjectArray<T>* new_array = Alloc(self, GetClass(), new_length, allocator_type); in CopyOf()
|
D | array.cc | 135 gc::AllocatorType allocator_type = heap->IsMovableObject(this) ? heap->GetCurrentAllocator() : in CopyOf() local 139 Array* new_array = Alloc<true>(self, GetClass(), new_length, component_shift, allocator_type); in CopyOf()
|
D | array-inl.h | 154 size_t component_size_shift, gc::AllocatorType allocator_type) { in Alloc() argument 155 DCHECK(allocator_type != gc::kAllocatorTypeLOS); in Alloc() 179 allocator_type, visitor)); in Alloc() 186 allocator_type, visitor)); in Alloc()
|
D | object_array.h | 34 gc::AllocatorType allocator_type)
|
D | array.h | 41 size_t component_size_shift, gc::AllocatorType allocator_type)
|
D | class-inl.h | 591 inline Object* Class::Alloc(Thread* self, gc::AllocatorType allocator_type) { in Alloc() argument 600 allocator_type, VoidFunctor()); in Alloc()
|
D | class.h | 481 ALWAYS_INLINE Object* Alloc(Thread* self, gc::AllocatorType allocator_type)
|
/art/runtime/ |
D | safe_map.h | 39 typedef typename ::std::map<K, V, Comparator, Allocator>::allocator_type allocator_type; typedef 48 explicit SafeMap(const key_compare& cmp, const allocator_type& allocator = allocator_type()) 57 allocator_type get_allocator() const { return map_.get_allocator(); } in get_allocator()
|
D | Android.mk | 315 gc/allocator_type.h \
|
D | jni_internal.cc | 595 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in AllocObject() local 598 allocator_type, visitor)); in AllocObject()
|
/art/runtime/interpreter/ |
D | interpreter_goto_table_impl.cc | 517 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in ExecuteGotoImpl() local 519 obj = String::Alloc<true>(self, 0, allocator_type, visitor); in ExecuteGotoImpl()
|
D | interpreter_switch_impl.cc | 421 gc::AllocatorType allocator_type = Runtime::Current()->GetHeap()->GetCurrentAllocator(); in ExecuteSwitchImpl() local 423 obj = String::Alloc<true>(self, 0, allocator_type, visitor); in ExecuteSwitchImpl()
|