diff options
Diffstat (limited to 'runtime/gc/heap.h')
| -rw-r--r-- | runtime/gc/heap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/gc/heap.h b/runtime/gc/heap.h index 8ffadd5740..a82392a8be 100644 --- a/runtime/gc/heap.h +++ b/runtime/gc/heap.h @@ -662,7 +662,7 @@ class Heap { SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); template <bool kGrow> - bool IsOutOfMemoryOnAllocation(AllocatorType allocator_type, size_t alloc_size); + ALWAYS_INLINE bool IsOutOfMemoryOnAllocation(AllocatorType allocator_type, size_t alloc_size); // Returns true if the address passed in is within the address range of a continuous space. bool IsValidContinuousSpaceObjectAddress(const mirror::Object* obj) const |