Searched refs:regular_allocator (Results 1 – 1 of 1) sorted by relevance
67 auto* regular_allocator = in ThreadCacheProcessScopeForTesting() local70 regular_allocator && regular_allocator->settings.with_thread_cache; in ThreadCacheProcessScopeForTesting()72 if (root_ != regular_allocator) { in ThreadCacheProcessScopeForTesting()96 auto* regular_allocator = in ~ThreadCacheProcessScopeForTesting() local99 regular_allocator && regular_allocator->settings.with_thread_cache; in ~ThreadCacheProcessScopeForTesting()104 EnablePartitionAllocThreadCacheForRootIfDisabled(regular_allocator); in ~ThreadCacheProcessScopeForTesting()106 ThreadCache::SwapForTesting(regular_allocator); in ~ThreadCacheProcessScopeForTesting()111 if (regular_allocator != root_) { in ~ThreadCacheProcessScopeForTesting()112 ThreadCache::SwapForTesting(regular_allocator); in ~ThreadCacheProcessScopeForTesting()117 DisableThreadCacheForRootIfEnabled(regular_allocator); in ~ThreadCacheProcessScopeForTesting()