Searched refs:ThreadCacheRegistry (Results 1 – 8 of 8) sorted by relevance
30 ThreadCacheRegistry g_instance;82 ThreadCacheRegistry& ThreadCacheRegistry::Instance() { in Instance()91 void ThreadCacheRegistry::RegisterThreadCache(ThreadCache* cache) { in RegisterThreadCache()104 void ThreadCacheRegistry::UnregisterThreadCache(ThreadCache* cache) { in UnregisterThreadCache()117 void ThreadCacheRegistry::DumpStats(bool my_thread_only, in DumpStats()142 void ThreadCacheRegistry::PurgeAll() { in PurgeAll()178 void ThreadCacheRegistry::ForcePurgeAllThreadAfterForkUnsafe() { in ForcePurgeAllThreadAfterForkUnsafe()214 void ThreadCacheRegistry::SetLargestActiveBucketIndex( in SetLargestActiveBucketIndex()219 void ThreadCacheRegistry::SetThreadCacheMultiplier(float multiplier) { in SetThreadCacheMultiplier()251 void ThreadCacheRegistry::SetPurgingConfiguration( in SetPurgingConfiguration()[all …]
106 class PA_COMPONENT_EXPORT(PARTITION_ALLOC) ThreadCacheRegistry { in PA_COMPONENT_EXPORT()108 static ThreadCacheRegistry& Instance(); in PA_COMPONENT_EXPORT()122 inline constexpr ThreadCacheRegistry(); in PA_COMPONENT_EXPORT()193 constexpr ThreadCacheRegistry::ThreadCacheRegistry() = default;389 PA_EXCLUSIVE_LOCKS_REQUIRED(ThreadCacheRegistry::GetLock()) { in PA_COMPONENT_EXPORT()393 PA_EXCLUSIVE_LOCKS_REQUIRED(ThreadCacheRegistry::GetLock()) { in PA_COMPONENT_EXPORT()478 ThreadCache* next_ PA_GUARDED_BY(ThreadCacheRegistry::GetLock()); in PA_COMPONENT_EXPORT()479 ThreadCache* prev_ PA_GUARDED_BY(ThreadCacheRegistry::GetLock()); in PA_COMPONENT_EXPORT()484 friend class ThreadCacheRegistry; in PA_COMPONENT_EXPORT() local
132 ThreadCacheRegistry::Instance().SetThreadCacheMultiplier( in SetUp()134 ThreadCacheRegistry::Instance().SetPurgingConfiguration( in SetUp()149 ThreadCacheRegistry::Instance().ResetForTesting(); in SetUp()523 internal::ScopedGuard lock(ThreadCacheRegistry::GetLock()); in ThreadMain()536 TEST_P(PartitionAllocThreadCacheTest, ThreadCacheRegistry) { in TEST_P() argument554 internal::ScopedGuard lock(ThreadCacheRegistry::GetLock()); in TEST_P()571 internal::ScopedGuard lock(ThreadCacheRegistry::GetLock()); in TEST_P()618 ThreadCacheRegistry::Instance().DumpStats(true, &stats); in TEST_P()651 ThreadCacheRegistry::Instance().DumpStats(false, &stats); in ThreadMain()691 ThreadCacheRegistry::Instance().DumpStats(false, &wqthread_stats); in TEST_P()[all …]
225 ThreadCacheRegistry::GetLock().Acquire(); in BeforeForkInParent()246 UnlockOrReinit(ThreadCacheRegistry::GetLock(), in_child); in ReleaseLocks()270 ThreadCacheRegistry::Instance().ForcePurgeAllThreadAfterForkUnsafe(); in AfterForkInChild()1521 ThreadCacheRegistry::Instance().DumpStats( in DumpStats()1523 ThreadCacheRegistry::Instance().DumpStats(false, in DumpStats()
84 ThreadCacheRegistry::Instance().PurgeAll(); in Reclaim()
25 ThreadCacheRegistry::Instance().PurgeAll(); in DisableThreadCacheForRootIfEnabled()
118 ThreadCacheRegistry::Instance().PurgeAll(); in PartitionAllocatorWithThreadCache()
251 auto& instance = ::partition_alloc::ThreadCacheRegistry::Instance(); in RunThreadCachePeriodicPurge()282 auto& instance = ::partition_alloc::ThreadCacheRegistry::Instance(); in StartThreadCachePeriodicPurge()1309 partition_alloc::ThreadCacheRegistry::Instance().SetPurgingConfiguration( in ReconfigureAfterTaskRunnerInit()1322 ::partition_alloc::ThreadCacheRegistry::Instance().SetThreadCacheMultiplier( in ReconfigureAfterTaskRunnerInit()1325 ::partition_alloc::ThreadCacheRegistry::Instance().SetThreadCacheMultiplier( in ReconfigureAfterTaskRunnerInit()1335 ::partition_alloc::ThreadCacheRegistry::Instance() in ReconfigureAfterTaskRunnerInit()