Searched refs:IsOutOfMemoryOnAllocation (Results 1 – 3 of 3) sorted by relevance
/art/runtime/gc/ |
D | heap-inl.h | 228 UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, alloc_size))) { 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() 355 if (LIKELY(!IsOutOfMemoryOnAllocation<kGrow>(allocator_type, alloc_size))) { in TryToAllocate() 405 inline bool Heap::IsOutOfMemoryOnAllocation(AllocatorType allocator_type, size_t alloc_size) { in IsOutOfMemoryOnAllocation() function
|
D | heap.h | 776 ALWAYS_INLINE bool IsOutOfMemoryOnAllocation(AllocatorType allocator_type, size_t alloc_size);
|
D | heap.cc | 1628 if (!IsOutOfMemoryOnAllocation<false>(allocator, alloc_size)) { in AllocateInternalWithGc()
|