fix severe bug
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user