@@ -58,12 +58,12 @@ public MemoryManagerConfig(int slowLaneSize)
5858 /// <summary>
5959 /// Gets the free-list block search strategy used by the FastLane when running the FreeList strategy wrapper.
6060 /// </summary>
61- public AllocationStrategy FastLaneFreeListStrategy { get ; init ; } = AllocationStrategy . FirstFit ;
61+ public AllocationStrategy FastLaneFreeListStrategy { get ; private init ; } = AllocationStrategy . FirstFit ;
6262
6363 /// <summary>
6464 /// Gets the free-list block search strategy used by the SlowLane to manage gap allocations.
6565 /// </summary>
66- public AllocationStrategy SlowLaneFreeListStrategy { get ; init ; } = AllocationStrategy . BestFit ;
66+ public AllocationStrategy SlowLaneFreeListStrategy { get ; private init ; } = AllocationStrategy . BestFit ;
6767
6868 /// <summary>
6969 /// Gets the fast lane strategy.
@@ -203,13 +203,13 @@ public MemoryManagerConfig(int slowLaneSize)
203203 /// Fraction of the SlowLane capacity dedicated to the BlobManager for small, unpredictable data.
204204 /// Example: 0.20 reserves 20% of the SlowLane for tiny blobs.
205205 /// </summary>
206- public double SlowLaneBlobCapacityFraction { get ; init ; } = 0.20 ;
206+ public double SlowLaneBlobCapacityFraction { get ; private init ; } = 0.20 ;
207207
208208 /// <summary>
209209 /// Allocations in the SlowLane smaller than or equal to this size (in bytes)
210210 /// will be routed to the BlobManager instead of the main BlockManager.
211211 /// </summary>
212- public int SlowLaneBlobThreshold { get ; init ; } = 256 ;
212+ public int SlowLaneBlobThreshold { get ; private init ; } = 256 ;
213213
214214 /// <summary>
215215 /// Estimates the total reserved unmanaged memory (in bytes) this configuration will request,
@@ -338,7 +338,8 @@ public static MemoryManagerConfig CreateForFrameScratch(int totalBudget = 8 * 10
338338 Threshold = totalBudget , // Guarantees ALL allocations up to the full budget hit FastLane!
339339 FastLaneStrategy = AllocatorStrategy . LinearBump , // Pure O(1) bump speed
340340 MaxFastLaneAgeFrames = 1 , // Single-frame turnover
341- EnableAutoCompaction = false , // Disabled: O(1) bump reset on Free handles cleanup, avoiding mid-frame stalls
341+ EnableAutoCompaction =
342+ false , // Disabled: O(1) bump reset on Free handles cleanup, avoiding mid-frame stalls
342343 FastLaneUsageThreshold = 0.99 ,
343344 SlowLaneUsageThreshold = 0.99
344345 } ;
0 commit comments