1 write to _totalBlocks
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (1)
61_totalBlocks++;
4 references to _totalBlocks
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (4)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (4)
116MemoryPoolThrowHelper.ThrowInvalidOperationException_DisposingPoolWithActiveBlocks(_totalBlocks - _blocks.Count, _totalBlocks, _blocks.ToArray()); 158MemoryPoolThrowHelper.ThrowInvalidOperationException_BlocksWereNotReturnedInTime(_totalBlocks - _blocks.Count, _totalBlocks, _blocks.ToArray());