Lines Matching refs:allocator
43 // The current globally-active persistent allocator for all new histograms.
100 PersistentMemoryAllocator* allocator)
101 : allocator_(allocator), record_iterator_(allocator) {}
254 PersistentHistogramAllocator* allocator)
255 : allocator_(allocator), memory_iter_(allocator->memory_allocator()) {}
309 // If the allocator is corrupt, don't waste time trying anything else.
311 // failed due to a corrupt allocator and the number of process instances
364 // array would have failed for being too large; the allocator supports
391 // By storing the reference within the allocator to this histogram, the
424 // code iterating through the allocator to read a partially created record.
428 // be created. The allocator does not support releasing the acquired memory
655 // This should never be called on the global histogram allocator as objects
666 // allocator that holds it eventually goes away. Instead, create a new
669 // histogram allocator if such is set.
806 std::unique_ptr<GlobalHistogramAllocator> allocator) {
807 // Releasing or changing an allocator is extremely dangerous because it
812 reinterpret_cast<uintptr_t>(allocator.release()));
847 // the (temporary) memory allocator via SetGlobalAllocator() so that