Lines Matching refs:UNLIKELY
52 if (kCheckLargeObject && UNLIKELY(ShouldAllocLargeObject(klass, byte_count))) { in AllocObjectWithAllocator()
90 if (UNLIKELY(obj == nullptr)) { in AllocObjectWithAllocator()
114 if (collector::SemiSpace::kUseRememberedSet && UNLIKELY(allocator == kAllocatorTypeNonMoving)) { in AllocObjectWithAllocator()
174 if (UNLIKELY(!self->PushOnThreadLocalAllocationStack(*obj))) { in PushOnAllocationStack()
177 } else if (UNLIKELY(!allocation_stack_->AtomicPushBack(*obj))) { in PushOnAllocationStack()
199 UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, alloc_size))) { in TryToAllocate()
215 if (kInstrumented && UNLIKELY(running_on_valgrind_)) { in TryToAllocate()
225 if (kInstrumented && UNLIKELY(running_on_valgrind_)) { in TryToAllocate()
248 if (UNLIKELY(self->TlabSize() < alloc_size)) { in TryToAllocate()
250 if (UNLIKELY(IsOutOfMemoryOnAllocation<kGrow>(allocator_type, new_tlab_size))) { in TryToAllocate()
305 if (UNLIKELY(new_footprint > max_allowed_footprint_)) { in IsOutOfMemoryOnAllocation()
306 if (UNLIKELY(new_footprint > growth_limit_)) { in IsOutOfMemoryOnAllocation()
324 if (UNLIKELY(new_num_bytes_allocated >= concurrent_start_bytes_)) { in CheckConcurrentGC()