2 instantiations of PinnedBlockMemoryPool
Microsoft.AspNetCore.Server.HttpSys (2)
src\Shared\Buffers.MemoryPool\DefaultMemoryPoolFactory.cs (1)
49var pool = new PinnedBlockMemoryPool(_meterFactory, _logger);
src\Shared\Buffers.MemoryPool\MemoryPoolFactory.cs (1)
24return new PinnedBlockMemoryPool(meterFactory);
9 references to PinnedBlockMemoryPool
Microsoft.AspNetCore.Server.HttpSys (9)
src\Shared\Buffers.MemoryPool\DefaultMemoryPoolFactory.cs (5)
18private readonly ConcurrentDictionary<PinnedBlockMemoryPool, bool> _pools = new(); 27_timer = new PeriodicTimer(PinnedBlockMemoryPool.DefaultEvictionDelay); 34foreach (var pool in _pools.Keys) 49var pool = new PinnedBlockMemoryPool(_meterFactory, _logger); 55((ConcurrentDictionary<PinnedBlockMemoryPool, bool>)state!).TryRemove(self, out _);
src\Shared\Buffers.MemoryPool\MemoryPoolBlock.cs (2)
14internal MemoryPoolBlock(PinnedBlockMemoryPool pool, int length) 26public PinnedBlockMemoryPool Pool { get; }
src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (2)
63private Action<object?, PinnedBlockMemoryPool>? _onPoolDisposed; 80public void OnPoolDisposed(Action<object?, PinnedBlockMemoryPool> onPoolDisposed, object? state = null)