2 references to s_pool
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\Logger.LogBlock.cs (2)
17
private static readonly ObjectPool<RoslynLogBlock> s_pool = new(() => new RoslynLogBlock(
s_pool
!), Math.Min(Environment.ProcessorCount * 8, 256));
23
var block =
s_pool
.Allocate();