Add ArrayPool event for dropped buffers (#49031)
authorStephen Toub <stoub@microsoft.com>
Wed, 3 Mar 2021 16:57:25 +0000 (11:57 -0500)
committerGitHub <noreply@github.com>
Wed, 3 Mar 2021 16:57:25 +0000 (11:57 -0500)
commit182f1190b74865f46be708ceda06bde4e9cd7b68
tree0042896e7b9b31fb2058583efc62523d8ecb5022
parent6ec82c58ffa891ff42391b8848b524742896b488
Add ArrayPool event for dropped buffers (#49031)

* Add ArrayPool event for dropped buffers

* Address PR feedback
src/libraries/System.Buffers/tests/ArrayPool/UnitTests.cs
src/libraries/System.Private.CoreLib/src/System/Buffers/ArrayPoolEventSource.cs
src/libraries/System.Private.CoreLib/src/System/Buffers/ConfigurableArrayPool.cs
src/libraries/System.Private.CoreLib/src/System/Buffers/TlsOverPerCoreLockedStacksArrayPool.cs