Searched refs:thread_cache (Results 1 – 5 of 5) sorted by relevance
44 Arena::ThreadCache& Arena::thread_cache() { in thread_cache() function in google::protobuf::Arena50 Arena::ThreadCache& Arena::thread_cache() { in thread_cache() function in google::protobuf::Arena77 first_block->owner = &thread_cache(); in Init()187 if (thread_cache().last_lifecycle_id_seen == lifecycle_id_ && in AllocateAligned()188 thread_cache().last_block_used_ != NULL) { in AllocateAligned()189 if (thread_cache().last_block_used_->avail() < n) { in AllocateAligned()192 return AllocFromBlock(thread_cache().last_block_used_, n); in AllocateAligned()198 void* me = &thread_cache(); in AllocateAligned()216 void* me = &thread_cache(); in SlowAlloc()293 first_block->owner = &thread_cache(); in FreeBlocks()
560 static ThreadCache& thread_cache();564 static ThreadCache& thread_cache();567 static ThreadCache& thread_cache() { return thread_cache_; } in thread_cache() function875 thread_cache().last_block_used_ = block; in SetThreadCacheBlock()876 thread_cache().last_lifecycle_id_seen = lifecycle_id_; in SetThreadCacheBlock()
579 AllocatorCache *thread_cache; member587 params->thread_cache->Deallocate(params->allocator, params->class_id, params); in DeallocNewThreadWorker()604 params->thread_cache = &child_cache; in TEST()
195 "$tcmalloc_dir/src/thread_cache.cc",196 "$tcmalloc_dir/src/thread_cache.h",
214 '<(tcmalloc_dir)/src/thread_cache.cc',215 '<(tcmalloc_dir)/src/thread_cache.h',