diff options
Diffstat (limited to 'src/mscorlib/Common/PinnableBufferCache.cs')
-rw-r--r-- | src/mscorlib/Common/PinnableBufferCache.cs | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/mscorlib/Common/PinnableBufferCache.cs b/src/mscorlib/Common/PinnableBufferCache.cs index 6c85a5a2f6..3f7853ce59 100644 --- a/src/mscorlib/Common/PinnableBufferCache.cs +++ b/src/mscorlib/Common/PinnableBufferCache.cs @@ -3,6 +3,7 @@ // See the LICENSE file in the project root for more information. #define ENABLE #define MINBUFFERS + using System; using System.Runtime.InteropServices; using System.Runtime.ConstrainedExecution; @@ -20,7 +21,6 @@ namespace System { internal sealed class PinnableBufferCache { - /// <summary> /// Create a PinnableBufferCache that works on any object (it is intended for OverlappedData) /// This is only used in mscorlib. @@ -519,22 +519,22 @@ namespace System public static readonly PinnableBufferCacheEventSource Log = new PinnableBufferCacheEventSource(); public bool IsEnabled() { return false; } - public void DebugMessage(string message) {} - public void Create(string cacheName) {} - public void AllocateBuffer(string cacheName, ulong objectId, int objectHash, int objectGen, int freeCountAfter) {} - public void AllocateBufferFromNotGen2(string cacheName, int notGen2CountAfter) {} - public void AllocateBufferCreatingNewBuffers(string cacheName, int totalBuffsBefore, int objectCount) {} - public void AllocateBufferAged(string cacheName, int agedCount) {} - public void AllocateBufferFreeListEmpty(string cacheName, int notGen2CountBefore) {} - public void FreeBuffer(string cacheName, ulong objectId, int objectHash, int freeCountBefore) {} - public void FreeBufferStillTooYoung(string cacheName, int notGen2CountBefore) {} - public void TrimCheck(string cacheName, int totalBuffs, bool neededMoreThanFreeList, int deltaMSec) {} - public void TrimFree(string cacheName, int totalBuffs, int freeListCount, int toBeFreed) {} - public void TrimExperiment(string cacheName, int totalBuffs, int freeListCount, int numTrimTrial) {} - public void TrimFreeSizeOK(string cacheName, int totalBuffs, int freeListCount) {} - public void TrimFlush(string cacheName, int totalBuffs, int freeListCount, int notGen2CountBefore) {} - public void AgePendingBuffersResults(string cacheName, int promotedToFreeListCount, int heldBackCount) {} - public void WalkFreeListResult(string cacheName, int freeListCount, int gen0BuffersInFreeList) {} + public void DebugMessage(string message) { } + public void Create(string cacheName) { } + public void AllocateBuffer(string cacheName, ulong objectId, int objectHash, int objectGen, int freeCountAfter) { } + public void AllocateBufferFromNotGen2(string cacheName, int notGen2CountAfter) { } + public void AllocateBufferCreatingNewBuffers(string cacheName, int totalBuffsBefore, int objectCount) { } + public void AllocateBufferAged(string cacheName, int agedCount) { } + public void AllocateBufferFreeListEmpty(string cacheName, int notGen2CountBefore) { } + public void FreeBuffer(string cacheName, ulong objectId, int objectHash, int freeCountBefore) { } + public void FreeBufferStillTooYoung(string cacheName, int notGen2CountBefore) { } + public void TrimCheck(string cacheName, int totalBuffs, bool neededMoreThanFreeList, int deltaMSec) { } + public void TrimFree(string cacheName, int totalBuffs, int freeListCount, int toBeFreed) { } + public void TrimExperiment(string cacheName, int totalBuffs, int freeListCount, int numTrimTrial) { } + public void TrimFreeSizeOK(string cacheName, int totalBuffs, int freeListCount) { } + public void TrimFlush(string cacheName, int totalBuffs, int freeListCount, int notGen2CountBefore) { } + public void AgePendingBuffersResults(string cacheName, int promotedToFreeListCount, int heldBackCount) { } + public void WalkFreeListResult(string cacheName, int freeListCount, int gen0BuffersInFreeList) { } static internal ulong AddressOf(object obj) { |