Project

General

Profile

« Previous | Next » 

Revision 80d457b4

Added by peterzhu2118 (Peter Zhu) about 1 year ago

Fix object allocation counters in compaction

When we move an object in compaction, we do not decrement the total_freed_objects
of the original size pool or increment the total_allocated_objects of the
new size pool. This means that when this object dies, it will appear as
if the object was never freed from the original size pool and the new
size pool will have one more free than expected. This means that the new
size pool could appear to have a negative number of live objects.