17 references to DefaultObjectPool
Microsoft.Extensions.AsyncState (1)
src\Shared\Pools\PoolFactory.cs (1)
189=> new(policy, maxRetained);
Microsoft.Extensions.Compliance.Abstractions (1)
src\Shared\Pools\PoolFactory.cs (1)
189=> new(policy, maxRetained);
Microsoft.Extensions.Diagnostics.HealthChecks.Common (1)
src\Shared\Pools\PoolFactory.cs (1)
189=> new(policy, maxRetained);
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
src\Shared\Pools\PoolFactory.cs (1)
189=> new(policy, maxRetained);
Microsoft.Extensions.Http.Resilience (1)
src\Shared\Pools\PoolFactory.cs (1)
189=> new(policy, maxRetained);
Microsoft.Extensions.ObjectPool (3)
DefaultObjectPool.cs (1)
30: this(policy, Environment.ProcessorCount * 2)
DefaultObjectPoolProvider.cs (1)
29return new DefaultObjectPool<T>(policy, MaximumRetained);
DisposableObjectPool.cs (1)
19: base(policy, maximumRetained)
Microsoft.Extensions.ObjectPool.DependencyInjection (1)
ObjectPoolServiceCollectionExtensions.cs (1)
115return new DefaultObjectPool<TService>(new DependencyInjectionPooledObjectPolicy<TService, TImplementation>(provider), options.Capacity);
Microsoft.Extensions.ObjectPool.Microbenchmark (4)
DrainRefillMultiTheaded.cs (1)
27_pool = new DefaultObjectPool<Foo>(new DefaultPooledObjectPolicy<Foo>(), Count);
DrainRefillSingleThreaded.cs (1)
22_pool = new DefaultObjectPool<Foo>(new DefaultPooledObjectPolicy<Foo>(), Count);
GetReturnMultiThreaded.cs (1)
25_pool = new DefaultObjectPool<Foo>(new DefaultPooledObjectPolicy<Foo>(), Count);
GetReturnSingleThreaded.cs (1)
17_pool = new DefaultObjectPool<Foo>(new DefaultPooledObjectPolicy<Foo>(), Count);
Microsoft.Extensions.ObjectPool.Tests (1)
ThreadingTest.cs (1)
18_pool = new DefaultObjectPool<Item>(new DefaultPooledObjectPolicy<Item>(), 10);
Microsoft.Extensions.Telemetry (1)
src\Shared\Pools\PoolFactory.cs (1)
189=> new(policy, maxRetained);
Microsoft.Extensions.Telemetry.Abstractions (1)
src\Shared\Pools\PoolFactory.cs (1)
189=> new(policy, maxRetained);
Shared (1)
Pools\PoolFactory.cs (1)
189=> new(policy, maxRetained);