Searched defs:Alloc (Results 1 - 18 of 18) sorted by relevance

/art/runtime/
H A Dlinear_alloc.cc31 void* LinearAlloc::Alloc(Thread* self, size_t size) { function in class:art::LinearAlloc
33 return allocator_.Alloc(size);
/art/runtime/mirror/
H A Dstack_trace_element.cc42 StackTraceElement* StackTraceElement::Alloc(Thread* self, Handle<String> declaring_class, function in class:art::mirror::StackTraceElement
H A Dobject_array-inl.h37 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 Dstring-inl.h156 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 Darray-inl.h152 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 Dclass-inl.h701 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 Darena_bit_vector.cc56 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 Dallocator.cc33 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 Dscoped_arena_allocator.h88 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 Darena_allocator.h303 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 Dbump_pointer_space-inl.h27 inline mirror::Object* BumpPointerSpace::Alloc(Thread*, size_t num_bytes, size_t* bytes_allocated, function in class:art::gc::space::BumpPointerSpace
H A Dmemory_tool_malloc_space-inl.h116 kUseObjSizeForUsable>::Alloc( function in class:art::gc::space::MemoryToolMallocSpace
122 void* obj_with_rdz = S::Alloc(self, num_bytes + 2 * kMemoryToolRedZoneBytes,
H A Dregion_space-inl.h26 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 Dzygote_space.cc79 mirror::Object* ZygoteSpace::Alloc(Thread*, size_t, size_t*, size_t*, size_t*) { function in class:art::gc::space::ZygoteSpace
H A Dlarge_object_space.cc52 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 Drosalloc-inl.h31 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 Dswap_space.cc107 void* SwapSpace::Alloc(size_t size) { function in class:art::SwapSpace
/art/test/004-ThreadStress/src/
H A DMain.java40 // -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();

Completed in 849 milliseconds