1 write to _pool
Microsoft.Extensions.ObjectPool.Microbenchmark (1)
GetReturnMultiThreaded.cs (1)
25
_pool
= new DefaultObjectPool<Foo>(new DefaultPooledObjectPolicy<Foo>(), Count);
3 references to _pool
Microsoft.Extensions.ObjectPool.Microbenchmark (3)
GetReturnMultiThreaded.cs (3)
28
_pool
.Return(new Foo());
66
var o =
_pool
.Get();
70
_pool
.Return(o);