Lines Matching refs:allocator
40 size_t byte_count, AllocatorType allocator,
49 // Need to check that we arent the large object allocator since the large object allocation code
69 if (allocator == kAllocatorTypeTLAB) {
73 if (allocator == kAllocatorTypeTLAB && byte_count <= self->TlabSize()) {
88 obj = TryToAllocate<kInstrumented, false>(self, allocator, byte_count, &bytes_allocated,
91 bool is_current_allocator = allocator == GetCurrentAllocator();
92 obj = AllocateInternalWithGc(self, allocator, byte_count, &bytes_allocated, &usable_size,
95 bool after_is_current_allocator = allocator == GetCurrentAllocator();
99 // If the allocator changed, we need to restart the allocation.
114 if (collector::SemiSpace::kUseRememberedSet && UNLIKELY(allocator == kAllocatorTypeNonMoving)) {
147 if (AllocatorHasAllocationStack(allocator)) {
161 if (AllocatorMayHaveConcurrentGC(allocator) && IsGcConcurrent()) {
269 LOG(FATAL) << "Invalid allocator type";