L4 brief ok

This commit is contained in:
Youmu Liu
2026-03-13 18:04:36 +08:00
parent 5da448548b
commit ccf95ec270
2 changed files with 29 additions and 31 deletions
@@ -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.");
}