L4 brief ok
This commit is contained in:
@@ -63,6 +63,10 @@ namespace StgSharp.HighPerformance.Memory
|
||||
{
|
||||
ref CacheLinePrediction handle = ref span[i];
|
||||
nuint address = handle.Address;
|
||||
if (TestHit(address))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
if (!TryGetEmptyLine(out int index)) {
|
||||
throw new OverflowException("L4 has no empty cache line.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user