old data
This commit is contained in:
@@ -41,44 +41,6 @@ namespace StgSharp.HighPerformance.Memory
|
||||
|
||||
private object _lock = new object();
|
||||
|
||||
public void DisplayAllocatedEntryLayout(bool singleStep)
|
||||
{
|
||||
lock (_lock)
|
||||
{
|
||||
Entry* cur = _spareMemory;
|
||||
while (cur != null)
|
||||
{
|
||||
if (cur->State == EntryState.Allocated)
|
||||
{
|
||||
Console.WriteLine(EntryToString(cur));
|
||||
if (singleStep) {
|
||||
Console.ReadKey();
|
||||
}
|
||||
}
|
||||
cur = (Entry*)cur->PreviousNear;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void DisplayEmptyEntryLayout(bool singleStep)
|
||||
{
|
||||
lock (_lock)
|
||||
{
|
||||
Entry* cur = _spareMemory;
|
||||
while (cur != null)
|
||||
{
|
||||
if (cur->State == EntryState.Empty)
|
||||
{
|
||||
Console.WriteLine(EntryToString(cur));
|
||||
if (singleStep) {
|
||||
Console.ReadKey();
|
||||
}
|
||||
}
|
||||
cur = (Entry*)cur->PreviousNear;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void DisplayEntryLayout(bool singleStep)
|
||||
{
|
||||
lock (_lock)
|
||||
|
||||
Reference in New Issue
Block a user