L4 is now on new algo, using tricky way to init entryies
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
//
|
||||
// -----------------------------------------------------------------------
|
||||
// -----------------------------------------------------------------------
|
||||
using StgSharp.HighPerformance.ProcessorAbstraction;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
using Hlsf = StgSharp.HighPerformance.Memory.HybridLayerSegregatedFitAllocator;
|
||||
@@ -55,12 +56,13 @@ namespace StgSharp.HighPerformance.Memory
|
||||
{
|
||||
|
||||
[FieldOffset(0)] internal Hlsf.Entry AllocatorEntry;
|
||||
[FieldOffset(0)] internal readonly M512 Buffer;
|
||||
|
||||
#region reference counting and state information
|
||||
|
||||
[FieldOffset(52)] internal int RefCount;
|
||||
[FieldOffset(60)] private readonly int Reverse;
|
||||
[FieldOffset(56)] internal int Id;
|
||||
[FieldOffset(56)] internal readonly int Id;
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user