1 instantiation of ArrayPoolEventSource
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Buffers\ArrayPoolEventSource.cs (1)
13internal static readonly ArrayPoolEventSource Log = new ArrayPoolEventSource();
32 references to ArrayPoolEventSource
System.Private.CoreLib (32)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Buffers\ArrayPoolEventSource.cs (1)
13internal static readonly ArrayPoolEventSource Log = new ArrayPoolEventSource();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Buffers\ConfigurableArrayPool.cs (16)
68ArrayPoolEventSource log = ArrayPoolEventSource.Log; 107log.BufferRented(bufferId, buffer.Length, Id, ArrayPoolEventSource.NoBucketId); 108log.BufferAllocated(bufferId, buffer.Length, Id, ArrayPoolEventSource.NoBucketId, index >= _buckets.Length ? 109ArrayPoolEventSource.BufferAllocatedReason.OverMaximumSize : 110ArrayPoolEventSource.BufferAllocatedReason.PoolExhausted); 148ArrayPoolEventSource log = ArrayPoolEventSource.Log; 155log.BufferDropped(bufferId, array.Length, Id, ArrayPoolEventSource.NoBucketId, ArrayPoolEventSource.BufferDroppedReason.OverMaximumSize); 218ArrayPoolEventSource log = ArrayPoolEventSource.Log; 222ArrayPoolEventSource.BufferAllocatedReason.Pooled); 266ArrayPoolEventSource log = ArrayPoolEventSource.Log; 269log.BufferDropped(array.GetHashCode(), _bufferLength, _poolId, Id, ArrayPoolEventSource.BufferDroppedReason.Full);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Buffers\SharedArrayPool.cs (15)
53ArrayPoolEventSource log = ArrayPoolEventSource.Log; 121log.BufferRented(bufferId, buffer.Length, Id, ArrayPoolEventSource.NoBucketId); 122log.BufferAllocated(bufferId, buffer.Length, Id, ArrayPoolEventSource.NoBucketId, bucketIndex >= _buckets.Length ? 123ArrayPoolEventSource.BufferAllocatedReason.OverMaximumSize : 124ArrayPoolEventSource.BufferAllocatedReason.PoolExhausted); 178ArrayPoolEventSource log = ArrayPoolEventSource.Log; 185haveBucket ? bucketIndex : ArrayPoolEventSource.NoBucketId, 186haveBucket ? ArrayPoolEventSource.BufferDroppedReason.Full : ArrayPoolEventSource.BufferDroppedReason.OverMaximumSize); 197ArrayPoolEventSource log = ArrayPoolEventSource.Log; 481ArrayPoolEventSource log = ArrayPoolEventSource.Log;