working on L4's tlsf
This commit is contained in:
@@ -125,7 +125,7 @@ namespace StgSharp.HighPerformance.Memory
|
||||
|
||||
int retryCount = 0, remain = missIndex - i;
|
||||
const int maxRetry = 1024;
|
||||
while (!TryGetEmptyLine(pHandle.Size, out index))
|
||||
while (!_bufferAllocator.TryAlloc(pHandle.Size, out index))
|
||||
{
|
||||
remain = Evict(remain);
|
||||
retryCount++;
|
||||
|
||||
Reference in New Issue
Block a user