Searched refs:IsOutOfMemoryOnAllocation (Results 1 – 3 of 3) sorted by relevance
/art/runtime/gc/ |
D | heap-inl.h | 245 UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, alloc_size))) { in TryToAllocate() 265 if (UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, in TryToAllocate() 275 if (UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, in TryToAllocate() 317 if (UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, new_tlab_size))) { in TryToAllocate() 349 … if (LIKELY(!IsOutOfMemoryOnAllocation<kGrow>(allocator_type, space::RegionSpace::kRegionSize))) { in TryToAllocate() 361 if (!IsOutOfMemoryOnAllocation<kGrow>(allocator_type, alloc_size)) { in TryToAllocate() 372 if (LIKELY(!IsOutOfMemoryOnAllocation<kGrow>(allocator_type, alloc_size))) { in TryToAllocate() 407 inline bool Heap::IsOutOfMemoryOnAllocation(AllocatorType allocator_type, size_t alloc_size) { in IsOutOfMemoryOnAllocation() function
|
D | heap.h | 892 ALWAYS_INLINE bool IsOutOfMemoryOnAllocation(AllocatorType allocator_type, size_t alloc_size);
|
D | heap.cc | 1828 if (!IsOutOfMemoryOnAllocation<false>(allocator, alloc_size)) { in AllocateInternalWithGc()
|