Home | History | Annotate | Download | only in debug

Lines Matching refs:allocator

90     PersistentMemoryAllocator* allocator,
94 PersistentMemoryAllocator::Iterator iter(allocator);
97 DCHECK_LE(size, allocator->GetAllocSize(ref));
100 if (allocator->ChangeType(ref, to_type, from_type, /*clear=*/false))
104 return allocator->Allocate(size, to_type);
171 PersistentMemoryAllocator* allocator,
177 : allocator_(allocator),
183 iterator_(allocator),
186 DCHECK(allocator);
656 // allocator that holds this structure and to which this object has no
853 ActivityTrackerMemoryAllocator* allocator) {
865 return CreateUserDataForActivity(&stack_[id], allocator);
875 ActivityTrackerMemoryAllocator* allocator) {
878 allocator->ReleaseObjectReference(stack_[id].user_data_ref);
1049 ActivityTrackerMemoryAllocator* allocator) {
1052 PersistentMemoryAllocator::Reference ref = allocator->GetObjectReference();
1053 void* memory = allocator->GetAsArray<char>(ref, kUserDataSize);
1257 std::unique_ptr<PersistentMemoryAllocator> allocator,
1262 new GlobalActivityTracker(std::move(allocator), stack_depth, process_id);
1339 // because the underlying allocator wasn't given enough memory to satisfy
1342 // Report the thread-count at which the allocator was full so that the
1461 // The persistent allocator is thread-safe so run the iteration and
1562 // memory returned by the allocator is guaranteed to be zeroed.
1606 std::unique_ptr<PersistentMemoryAllocator> allocator,
1609 : allocator_(std::move(allocator)),