1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-24 18:48:01 +02:00

GC marking in addr order for cache, improved reporting

This commit is contained in:
Brian Fiete 2019-11-07 10:01:23 -08:00
parent 9197c60964
commit 9c9bfdc6d4
4 changed files with 216 additions and 52 deletions

View file

@ -292,8 +292,8 @@ void BFGC::RawReportHandleSpan(tcmalloc_raw::Span* span, int expectedStartPage,
else
{
(*sizeMap).TryAdd(type, NULL, &sizePtr);
sizePtr->mSize += elementSize;
sizePtr->mCount++;
sizePtr->mRawSize += elementSize;
sizePtr->mRawCount++;
}
objectCount++;
}