fix severe bug

This commit is contained in:
Youmu Liu
2026-03-16 18:27:32 +08:00
parent 8e6dfa7211
commit f8a879c4da
2 changed files with 12 additions and 13 deletions
+2 -1
View File
@@ -78,7 +78,7 @@ namespace StgSharp.HighPerformance.Memory
_prediction = (CacheLinePrediction*)ptr;
ptr += predictionSize;
_map = SwissTable.Create(_baseAddress + cacheSize + entrySize, _ => { });
_prediction = (CacheLinePrediction*)ptr;
ptr += mapSize;
_eviction = (EvictionArray*)ptr;
ptr += rrpvSize;
_idMux = new UnmanagedStack<int>((int*)ptr, CacheLineCount, _ => { });
@@ -132,6 +132,7 @@ namespace StgSharp.HighPerformance.Memory
_prefetching = 0;
}
}
Thread.Sleep(0);
}
}
while (true)