/art/runtime/ |
H A D | linear_alloc.cc | 31 void* LinearAlloc::Alloc(Thread* self, size_t size) { function in class:art::LinearAlloc 33 return allocator_.Alloc(size);
|
/art/runtime/mirror/ |
H A D | stack_trace_element.cc | 42 StackTraceElement* StackTraceElement::Alloc(Thread* self, Handle<String> declaring_class, function in class:art::mirror::StackTraceElement
|
H A D | object_array-inl.h | 37 inline ObjectArray<T>* ObjectArray<T>::Alloc(Thread* self, Class* object_array_class, function in class:art::mirror::ObjectArray 39 Array* array = Array::Alloc<true>(self, object_array_class, length, 52 inline ObjectArray<T>* ObjectArray<T>::Alloc(Thread* self, Class* object_array_class, function in class:art::mirror::ObjectArray 54 return Alloc(self, object_array_class, length, 260 ObjectArray<T>* new_array = Alloc(self, GetClass(), new_length, allocator_type);
|
H A D | string-inl.h | 156 inline String* String::Alloc(Thread* self, int32_t utf16_length, gc::AllocatorType allocator_type, function in class:art::mirror::String 195 String* string = Alloc<kIsInstrumented>(self, byte_length, allocator_type, visitor); 206 String* new_string = Alloc<kIsInstrumented>(self, count, allocator_type, visitor); 214 String* new_string = Alloc<kIsInstrumented>(self, string_length, allocator_type, visitor);
|
H A D | array-inl.h | 152 inline Array* Array::Alloc(Thread* self, Class* array_class, int32_t component_count, function in class:art::mirror::Array 205 inline PrimitiveArray<T>* PrimitiveArray<T>::Alloc(Thread* self, size_t length) { function in class:art::mirror::PrimitiveArray 206 Array* raw_array = Array::Alloc<true>(self, GetArrayClass(), length,
|
H A D | class-inl.h | 701 inline Object* Class::Alloc(Thread* self, gc::AllocatorType allocator_type) { function in class:art::mirror::Class 722 return Alloc<true>(self, Runtime::Current()->GetHeap()->GetCurrentAllocator()); 726 return Alloc<true>(self, Runtime::Current()->GetHeap()->GetCurrentNonMovingAllocator());
|
/art/runtime/base/ |
H A D | arena_bit_vector.cc | 56 void* storage = arena->template Alloc<ArenaBitVectorAllocator>(kind); 65 virtual void* Alloc(size_t size) { function in class:art::FINAL 66 return arena_->Alloc(size, this->Kind());
|
H A D | allocator.cc | 33 void* Alloc(size_t size) { function in class:art::FINAL 52 void* Alloc(size_t size ATTRIBUTE_UNUSED) { function in class:art::FINAL 53 LOG(FATAL) << "NoopAllocator::Alloc should not be called";
|
H A D | scoped_arena_allocator.h | 88 void* Alloc(size_t bytes, ArenaAllocKind kind) ALWAYS_INLINE { 138 void* addr = arena_stack->Alloc(sizeof(ScopedArenaAllocator), kArenaAllocMisc); 149 void* Alloc(size_t bytes, ArenaAllocKind kind = kArenaAllocMisc) ALWAYS_INLINE { 151 return arena_stack_->Alloc(bytes, kind); 155 T* Alloc(ArenaAllocKind kind = kArenaAllocMisc) { function in class:art::ScopedArenaAllocator 161 return static_cast<T*>(Alloc(length * sizeof(T), kind));
|
H A D | arena_allocator.h | 303 void* Alloc(size_t bytes, ArenaAllocKind kind = kArenaAllocMisc) ALWAYS_INLINE { 335 auto* new_ptr = Alloc(new_size, kind); 342 T* Alloc(ArenaAllocKind kind = kArenaAllocMisc) { function in class:art::ArenaAllocator 348 return static_cast<T*>(Alloc(length * sizeof(T), kind));
|
/art/runtime/gc/space/ |
H A D | bump_pointer_space-inl.h | 27 inline mirror::Object* BumpPointerSpace::Alloc(Thread*, size_t num_bytes, size_t* bytes_allocated, function in class:art::gc::space::BumpPointerSpace
|
H A D | memory_tool_malloc_space-inl.h | 116 kUseObjSizeForUsable>::Alloc( function in class:art::gc::space::MemoryToolMallocSpace 122 void* obj_with_rdz = S::Alloc(self, num_bytes + 2 * kMemoryToolRedZoneBytes,
|
H A D | region_space-inl.h | 26 inline mirror::Object* RegionSpace::Alloc(Thread*, size_t num_bytes, size_t* bytes_allocated, function in class:art::gc::space::RegionSpace 39 return Alloc(self, num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated); 51 obj = current_region_->Alloc(num_bytes, bytes_allocated, usable_size, 55 obj = evac_region_->Alloc(num_bytes, bytes_allocated, usable_size, 64 obj = current_region_->Alloc(num_bytes, bytes_allocated, usable_size, 67 obj = evac_region_->Alloc(num_bytes, bytes_allocated, usable_size, 84 obj = r->Alloc(num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated); 96 obj = r->Alloc(num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated); 114 inline mirror::Object* RegionSpace::Region::Alloc(size_t num_bytes, size_t* bytes_allocated, function in class:art::gc::space::RegionSpace::Region
|
H A D | zygote_space.cc | 79 mirror::Object* ZygoteSpace::Alloc(Thread*, size_t, size_t*, size_t*, size_t*) { function in class:art::gc::space::ZygoteSpace
|
H A D | large_object_space.cc | 52 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated, 56 LargeObjectMapSpace::Alloc(self, num_bytes + kMemoryToolRedZoneBytes * 2, bytes_allocated, 133 mirror::Object* LargeObjectMapSpace::Alloc(Thread* self, size_t num_bytes, function in class:art::gc::space::LargeObjectMapSpace 479 mirror::Object* FreeListSpace::Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated, function in class:art::gc::space::FreeListSpace
|
/art/runtime/gc/allocator/ |
H A D | rosalloc-inl.h | 31 inline ALWAYS_INLINE void* RosAlloc::Alloc(Thread* self, size_t size, size_t* bytes_allocated, function in class:art::gc::allocator::RosAlloc
|
/art/compiler/utils/ |
H A D | swap_space.cc | 107 void* SwapSpace::Alloc(size_t size) { function in class:art::SwapSpace
|
/art/test/004-ThreadStress/src/ |
H A D | Main.java | 40 // -alloc:X ........ frequency of Alloc 119 private final static class Alloc extends Operation { class in class:Main 245 frequencyMap.put(new Alloc(), 0.25); // 50/200 291 op = new Alloc();
|