Skip to content

Commit 73123d4

Browse files
committed
Fix severe bug in freeing safebuffers/hugebuffers. #3. Remove vector multiply from HugeBuffer since no way to multiply remaining elements in segment.
1 parent 9ef65b5 commit 73123d4

File tree

15 files changed

+505
-529
lines changed

15 files changed

+505
-529
lines changed

jemalloc.Api/FixedBuffer.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,8 @@ internal void ThrowIfNotVectorizable()
410410
}
411411
}
412412

413+
414+
413415
internal string Name => $"{nameof(FixedBuffer<T>)}({this._Length})";
414416

415417
private string DebuggerDisplay() => string.Format("{{{0}[{1}]}}", typeof(T).Name, Length);

0 commit comments

Comments
 (0)